Expand description
§Functions and types used by generated protobuf code
These are not considered to be public API of rust-protobuf, so they can be changed any time (provided compatibility with previously generated code is preserved).
Structs§
- Cached size field used in generated code.
- Lazily initialized static variable.
Enums§
- All supported “wire types” are listed in this enum.
Functions§
- Size of encoded bytes field.
- Given
u64
value compute varint encoded length. - Encoded
int32
size. - Encoded
int64
size. - Read repeated enum field when the wire format is length-delimited.
- Read singular
message
field. - Handle unknown field in generated code. Either store a value in unknown, or skip a group. Return error if tag is incorrect.
- Size of serialized
sint32
field. - Size of serialized
sint64
field. - Skip field.
- Size of encoded string field.
- Compute tag size. Size of tag does not depend on wire type.
- Encoded
uint32
size. - Encoded
uint64
size. - Size of encoded unknown fields size.
- Compute data size of fixed encoding of repeated field data.
- Compute data size of fixed encoding of repeated field data.
- Size of serialized data with length prefix and tag
- Compute data size of fixed encoding of repeated field data.
- Compute data size of fixed encoding of repeated field data.
- Compute data size of fixed encoding of repeated field data.
- Size of serialized data with length prefix and tag.
- Size of serialized data with length prefix and tag.
- Compute data size of fixed encoding of repeated field data.
- Compute data size of fixed encoding of repeated field data.
- Size of serialized data with length prefix and tag.
- Size of serialized data with length prefix and tag.
- Size of serialized data with length prefix and tag.
- Size of serialized data with length prefix and tag.
- Write message with field number and length to the stream.