[go: up one dir, main page]

Module buf

Module buf 

Source
Expand description

Buffering writer for protobuf.

The ProtoBufMut type can be used to efficiently encode a protobuf value without necessarily knowing the final size upfront.

Structsยง

Capacity
The size of internal buffers needed to encode a protobuf message.
ProtoBuf
An encoded protobuf value.
ProtoBufCursor
A reader over an encoded protobuf message that offers a similar API to the bytes crate.
ProtoBufMut
Buffering writer for protobuf, with state T.
ProtoBufMutReusable
The re-usable internals of a ProtoBufMut that can optimize a later encoding.