Expand description
Serializer and deserializer for binary data.
Sequences and maps that encode a length prefix use a u32
for
portability across platforms which limits the number of
items in sequences and maps to 2^32.
Re-exports§
pub use binary_stream;
Structs§
- Deserializer
- Deserializer for binary data.
- Serializer
- Serializer for binary data.
Enums§
- Error
- Errors thrown by the serde integration.
Traits§
Functions§
- decode
- Deserialize a
Decode
implementation from binary data. - encode
- Serialize an
Encode
implementation into binary data. - from_
slice - Deserialize from a slice of bytes.
- from_
vec - Deserialize from an owned buffer.
- to_vec
- Serialize to an owned buffer.
Type Aliases§
- Result
- Result type for serialization and deserialization.