Expand description
Provides various functions and structs for MessagePack encoding.
Re-exports§
pub use buffer::ByteBuf;
Modules§
- Implementation of the
ByteBuftype
Enums§
- An error that can occur when attempting to write multi-byte MessagePack value.
Traits§
- A type that
rmpsupports writing into. - The error type for operations on the
RmpWritetrait.
Functions§
- Encodes and attempts to write the most efficient array length implementation to the given write, returning the marker used.
- Encodes and attempts to write the most efficient binary implementation to the given
Write. - Encodes and attempts to write the most efficient binary array length implementation to the given write, returning the marker used.
- Encodes and attempts to write a bool value into the given write.
- Encodes and attempts to write the most efficient ext metadata implementation to the given write, returning the marker used.
- Encodes and attempts to write an
f32value as a 5-byte sequence into the given write. - Encodes and attempts to write an
f64value as a 9-byte sequence into the given write. - Encodes and attempts to write an
i8value as a 2-byte sequence into the given write. - Encodes and attempts to write an
i16value as a 3-byte sequence into the given write. - Encodes and attempts to write an
i32value as a 5-byte sequence into the given write. - Encodes and attempts to write an
i64value as a 9-byte sequence into the given write. - Encodes and attempts to write the most efficient map length implementation to the given write, returning the marker used.
- Encodes and attempts to write a negative small integer value as a negative fixnum into the given write.
- Encodes and attempts to write a nil value into the given write.
- Encodes and attempts to write an unsigned small integer value as a positive fixint into the given write.
- Encodes and attempts to write an
i64value into the given write using the most efficient representation, returning the marker used. - Encodes and attempts to write the most efficient string binary representation to the given
Write. - Encodes and attempts to write the most efficient string length implementation to the given write, returning the marker used.
- Encodes and attempts to write an
u8value as a 2-byte sequence into the given write. - Encodes and attempts to write an
u16value strictly as a 3-byte sequence into the given write. - Encodes and attempts to write an
u32value strictly as a 5-byte sequence into the given write. - Encodes and attempts to write an
u64value strictly as a 9-byte sequence into the given write. - Encodes and attempts to write an
u64value into the given write using the most efficient representation, returning the marker used. - Encodes and attempts to write an
u8value into the given write using the most efficient representation, returning the marker used.
Type Aliases§
- Error
Deprecated An alias to the “default” error handling type.