class Decoder (View source)

Class to decode protocol buffer from serialized form. Used by protocol buffer implementation.

Constants

NUMERIC

DOUBLE

STRING

STARTGROUP

ENDGROUP

FLOAT

MAX_TYPE

MAX_SHIFT

MAX_INT64

MIN_INT64

MAX_INT32

MIN_INT32

RANGE_UINT64

RANGE_UINT32

Methods

__construct($buf, $idx, $limit)

No description

avail()

No description

buffer()

No description

pos()

No description

skip($n)

No description

skipData($tag)

No description

get8()

No description

getVarUint32()

No description

getVarInt32()

No description

getVarInt64()

No description

getVarUint64()

No description

getBoolean()

No description

getFloat()

No description

getDouble()

No description

getFixed32()

No description

getFixed64()

No description

Details

__construct($buf, $idx, $limit)

Parameters

$buf
$idx
$limit

avail()

buffer()

pos()

skip($n)

Parameters

$n

skipData($tag)

Parameters

$tag

get8()

getVarUint32()

getVarInt32()

getVarInt64()

getVarUint64()

getBoolean()

getFloat()

getDouble()

getFixed32()

getFixed64()