Crate forest_encoding
Source pub use serde_bytes;
- de
- Generic data structure deserialization framework.
- error
- When serializing or deserializing CBOR goes wrong.
- repr
- ser
- Generic data structure serialization framework.
- tags
- Support for cbor tags
- tuple
- Byte32De
- Wrapper for deserializing array of 32 Bytes.
- BytesDe
- Wrapper for deserializing dynamic sized Bytes.
- BytesSer
- Wrapper for serializing slice of bytes.
- Error
- Error type for encoding and decoding data through any Forest supported protocol.
- CodecProtocol
- CodecProtocol defines the protocol in which the data is encoded or decoded
- Cbor
- Cbor utility functions for serializable objects
- blake2b_256
- Generates blake2b hash of fixed 32 bytes size.
- blake2b_variable
- Generates blake2b hash with provided size.
- bytes_32
- from_reader
- Decodes a value from CBOR data in a reader.
- from_slice
- Decodes a value from CBOR data in a slice.
- to_vec
- Serializes a value to a vector.
- to_writer
- Serializes a value to a writer.