Module compact_protocol

Module compact_protocol 

Source

Structs§

CompactProtocolDeserializer
CompactProtocolSerializer

Enums§

CType
CompactProtocol
An efficient, dense encoding that uses variable-length integers and squeezes data into unused bits wherever possible.

Traits§

DeserializeSlice
SerializeRef

Functions§

deserialize
Deserialize a Thrift blob using the compact protocol.
serialize
Serialize a Thrift value using the compact protocol.
serialize_size
How large an item will be when serialize() is called
serialize_to_buffer
Serialize a Thrift value using the compact 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.