Property | Type | Description | |
---|---|---|---|
$config | |||
$isBigEndian | boolean | ||
$stream |
Method | Description | |
---|---|---|
__construct ( |
Constructor | |
readBool ( |
Decode a bool. | |
readByte ( |
Reads a byte. | |
readByteStream ( |
Decode a stream of bytes. | |
readDouble ( |
Decode a 64bit double. | |
readFixed32 ( |
Decode a fixed 32bit integer without sign. | |
readFixed64 ( |
Decode a fixed 64bit integer without sign. | |
readFloat ( |
Decode a 32bit float. | |
readSFixed32 ( |
Decode a fixed 32bit integer with sign. | |
readSFixed64 ( |
Decode a fixed 64bit integer with sign. | |
readString ( |
Decode a string. | |
readUnknown ( |
Read unknown scalar value. | |
readVarint ( |
Decode a varint. | |
readZigzag ( |
Decodes a zigzag integer of the given bits. |
public __construct ( |
||
$config |
public readByteStream ( |
||
$stream | ||
return |
public readDouble ( |
||
$stream | ||
return | float |
public readFixed32 ( |
||
$stream | ||
return | integer |
public readFixed64 ( |
||
$stream | ||
return | integer |
public readSFixed32 ( |
||
$stream | ||
return | integer |
public readSFixed64 ( |
||
$stream | ||
return | integer |
public readString ( |
||
$stream | ||
return | string |
public readUnknown ( |
||
$stream | ||
$wire | integer | |
return | scalar |
public readVarint ( |
||
$stream | ||
return | integer |
public readZigzag ( |
||
$stream | ||
return | integer |
protected Configuration,Protobuf $config | ||
return |