Module wire_format

Source
Expand description

Serialization constants.

Re-exports§

pub use self::WireType::*;

Structs§

Tag
Parsed protobuf tag, which is a pair of field number and wire type

Enums§

WireType
One of six defined protobuf wire types

Constants§

FIELD_NUMBER_MAX
Max possible field number
TAG_TYPE_BITS
Tag occupies 3 bits
TAG_TYPE_MASK
Tag mask