Modules§
- flavors
- Serialization Flavors
- serializer 🔒
Functions§
- serialize_
with_ flavor serialize_with_flavor()has three generic parameters,T, F, O.- serialized_
size - Compute the size of the postcard serialization of
T. - to_
allocvec - Serialize a
Tto analloc::vec::Vec<u8>. - to_
allocvec_ cobs - Serialize and COBS encode a
Tto analloc::vec::Vec<u8>. - to_
extend - Serialize a
Tto acore::iter::Extend, - to_io
- Serialize a
Tto astd::io::Write, - to_
slice - Serialize a
Tto the given slice, with the resulting slice containing data in a serialized format. - to_
slice_ cobs - Serialize a
Tto the given slice, with the resulting slice containing data in a serialized then COBS encoded format. The terminating sentinel0x00byte is included in the output buffer. - to_
stdvec - Serialize a
Tto astd::vec::Vec<u8>. - to_
stdvec_ cobs - Serialize and COBS encode a
Tto astd::vec::Vec<u8>.