Crate binary_sv2
source ·Re-exports§
pub use binary_codec_sv2;
Modules§
Structs§
- The liftime is here only for type compatibility with serde-sv2
- The liftime is here only for type compatibility with serde-sv2
- The liftime is here only for type compatibility with serde-sv2
Enums§
- FFI-safe Error
Traits§
- Implmented by all the decodable structure, it can be derived for every structure composed only by primitives or other Decodable.
- Implmented by all the decodable structure, it can be derived for every structure composed only by primitives or other Decodable.
- Return the encoded byte size of an
Encodable
comprehensive of the header, if any - Return the encoded byte size or a
Decodable
Functions§
- The caller is reponsible for NOT adding duplicate cvecs to the cvec2 structure, as this can lead to double free errors when the message is dropped.
- Given a C allocated buffer return a rust allocated CVec
- Safety