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