Module binary_protocol

Source

Structs§

BinaryProtocolDeserializer
BinaryProtocolSerializer

Enums§

BinaryProtocol
A straight-forward binary format that encodes numeric values in fixed width.

Constants§

BINARY_VERSION_1
BINARY_VERSION_MASK

Traits§

DeserializeSlice
SerializeRef

Functions§

deserialize
Deserialize a Thrift blob using the binary protocol.
serialize
Serialize a Thrift value using the binary protocol.
serialize_size
How large an item will be when serialize() is called
serialize_to_buffer
Serialize a Thrift value using the binary protocol to a pre-allocated buffer. This will panic if the buffer is not large enough. A buffer at least as large as the return value of serialize_size will not panic.