class GPBWire (View source)

Constants

TAG_TYPE_BITS

WIRETYPE_VARINT

WIRETYPE_FIXED64

WIRETYPE_LENGTH_DELIMITED

WIRETYPE_START_GROUP

WIRETYPE_END_GROUP

WIRETYPE_FIXED32

UNKNOWN

NORMAL_FORMAT

PACKED_FORMAT

Methods

static 
getTagFieldNumber($tag)

No description

static 
getTagWireType($tag)

No description

static 
getWireType($type)

No description

static 
zigZagEncode32($int32)

No description

static 
zigZagDecode32($uint32)

No description

static 
zigZagEncode64($int64)

No description

static 
zigZagDecode64($uint64)

No description

static 
readInt32($input, $value)

No description

static 
readInt64($input, $value)

No description

static 
readUint32($input, $value)

No description

static 
readUint64($input, $value)

No description

static 
readSint32($input, $value)

No description

static 
readSint64($input, $value)

No description

static 
readFixed32($input, $value)

No description

static 
readFixed64($input, $value)

No description

static 
readSfixed32($input, $value)

No description

static 
readSfixed64($input, $value)

No description

static 
readFloat($input, $value)

No description

static 
readDouble($input, $value)

No description

static 
readBool($input, $value)

No description

static 
readString($input, $value)

No description

static 
readMessage($input, $message)

No description

static 
writeTag($output, $tag)

No description

static 
writeInt32($output, $value)

No description

static 
writeInt64($output, $value)

No description

static 
writeUint32($output, $value)

No description

static 
writeUint64($output, $value)

No description

static 
writeSint32($output, $value)

No description

static 
writeSint64($output, $value)

No description

static 
writeFixed32($output, $value)

No description

static 
writeFixed64($output, $value)

No description

static 
writeSfixed32($output, $value)

No description

static 
writeSfixed64($output, $value)

No description

static 
writeBool($output, $value)

No description

static 
writeFloat($output, $value)

No description

static 
writeDouble($output, $value)

No description

static 
writeString($output, $value)

No description

static 
writeBytes($output, $value)

No description

static 
writeMessage($output, $value)

No description

static 
makeTag($number, $type)

No description

static 
tagSize($field)

No description

static 
varint32Size($value, $sign_extended = false)

No description

static 
sint32Size($value)

No description

static 
sint64Size($value)

No description

static 
varint64Size($value)

No description

static 
serializeFieldToStream($value, $field, $need_tag, $output)

No description

Details

static getTagFieldNumber($tag)

No description

Parameters

$tag

static getTagWireType($tag)

No description

Parameters

$tag

static getWireType($type)

No description

Parameters

$type

static zigZagEncode32($int32)

No description

Parameters

$int32

static zigZagDecode32($uint32)

No description

Parameters

$uint32

static zigZagEncode64($int64)

No description

Parameters

$int64

static zigZagDecode64($uint64)

No description

Parameters

$uint64

static readInt32($input, $value)

No description

Parameters

$input
$value

static readInt64($input, $value)

No description

Parameters

$input
$value

static readUint32($input, $value)

No description

Parameters

$input
$value

static readUint64($input, $value)

No description

Parameters

$input
$value

static readSint32($input, $value)

No description

Parameters

$input
$value

static readSint64($input, $value)

No description

Parameters

$input
$value

static readFixed32($input, $value)

No description

Parameters

$input
$value

static readFixed64($input, $value)

No description

Parameters

$input
$value

static readSfixed32($input, $value)

No description

Parameters

$input
$value

static readSfixed64($input, $value)

No description

Parameters

$input
$value

static readFloat($input, $value)

No description

Parameters

$input
$value

static readDouble($input, $value)

No description

Parameters

$input
$value

static readBool($input, $value)

No description

Parameters

$input
$value

static readString($input, $value)

No description

Parameters

$input
$value

static readMessage($input, $message)

No description

Parameters

$input
$message

static writeTag($output, $tag)

No description

Parameters

$output
$tag

static writeInt32($output, $value)

No description

Parameters

$output
$value

static writeInt64($output, $value)

No description

Parameters

$output
$value

static writeUint32($output, $value)

No description

Parameters

$output
$value

static writeUint64($output, $value)

No description

Parameters

$output
$value

static writeSint32($output, $value)

No description

Parameters

$output
$value

static writeSint64($output, $value)

No description

Parameters

$output
$value

static writeFixed32($output, $value)

No description

Parameters

$output
$value

static writeFixed64($output, $value)

No description

Parameters

$output
$value

static writeSfixed32($output, $value)

No description

Parameters

$output
$value

static writeSfixed64($output, $value)

No description

Parameters

$output
$value

static writeBool($output, $value)

No description

Parameters

$output
$value

static writeFloat($output, $value)

No description

Parameters

$output
$value

static writeDouble($output, $value)

No description

Parameters

$output
$value

static writeString($output, $value)

No description

Parameters

$output
$value

static writeBytes($output, $value)

No description

Parameters

$output
$value

static writeMessage($output, $value)

No description

Parameters

$output
$value

static makeTag($number, $type)

No description

Parameters

$number
$type

static tagSize($field)

No description

Parameters

$field

static varint32Size($value, $sign_extended = false)

No description

Parameters

$value
$sign_extended

static sint32Size($value)

No description

Parameters

$value

static sint64Size($value)

No description

Parameters

$value

static varint64Size($value)

No description

Parameters

$value

static serializeFieldToStream($value, $field, $need_tag, $output)

No description

Parameters

$value
$field
$need_tag
$output