module documentation

Low-level protobuf wire encoding and decoding primitives.

Class BinaryReader Read primitive values from one protobuf-encoded byte sequence.
Class BinaryWriter Append primitive protobuf values to a byte buffer.
Constant WIRE_END_GROUP Undocumented
Constant WIRE_FIXED32 Undocumented
Constant WIRE_FIXED64 Undocumented
Constant WIRE_LENGTH_DELIMITED Undocumented
Constant WIRE_START_GROUP Undocumented
Constant WIRE_VARINT Undocumented
Type Variable T Undocumented
Function _signed Undocumented
Function _zigzag_decode Undocumented
Constant _MAX_FIELD_NUMBER Undocumented
Constant _MAX_UINT32 Undocumented
Constant _MAX_UINT64 Undocumented
WIRE_END_GROUP: int = (source)

Undocumented

Value
4
WIRE_FIXED32: int = (source)

Undocumented

Value
5
WIRE_FIXED64: int = (source)

Undocumented

Value
1
WIRE_LENGTH_DELIMITED: int = (source)

Undocumented

Value
2
WIRE_START_GROUP: int = (source)

Undocumented

Value
3
WIRE_VARINT: int = (source)

Undocumented

Value
0

Undocumented

Value
TypeVar('T')
def _signed(value: int, bits: int) -> int: (source)

Undocumented

def _zigzag_decode(value: int) -> int: (source)

Undocumented

_MAX_FIELD_NUMBER = (source)

Undocumented

Value
(1 << 29) - 1
_MAX_UINT32 = (source)

Undocumented

Value
(1 << 32) - 1
_MAX_UINT64 = (source)

Undocumented

Value
(1 << 64) - 1