[−][src]Crate forest_encoding
Re-exports
pub use serde_bytes; |
Modules
| 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 | |
| value | CBOR values, keys and serialization routines. |
Structs
| Byte32De | Wrapper for deserializing array of 32 Bytes. |
| BytesDe | Wrapper for deserializing dynamic sized Bytes. |
| BytesSer | Wrapper for serializing slice of bytes. |
Enums
| CodecProtocol | CodecProtocol defines the protocol in which the data is encoded or decoded |
| Error | Error type for encoding and decoding data through any Forest supported protocol |
Traits
| Cbor | Cbor utility functions for serializable objects |
Functions
| blake2b_256 | Generates blake2b hash of fixed 32 bytes size. |
| blake2b_variable | Generates blake2b hash with provided size. |
| 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. |