[−][src]Crate ssz
SimpleSerialization crate written in Rust.
Re-exports
pub use ssz_derive::Codec; |
pub use ssz_derive::Encode; |
pub use ssz_derive::Decode; |
Macros
| sum | Shortcut for adding more than two sizes together. |
Structs
| Add | Add |
| Compact | Indicate that the current value should be serialized and deserialized in Compact format. Value form. |
| CompactRef | Indicate that the current value should be serialized and deserialized in Compact format. Reference form. |
| Div | Divide |
| MaxVec | Vec value with maximum length. |
| Mul | Multiply |
| Series | Represents a ssz series. Items in it can either be fixed-sized or variable-sized. |
| VariableSize | A plain variable sized value. |
Enums
| Error | Error type for encoding and decoding. |
| SeriesItem | Item in a ssz series. |
Traits
| Codec | Base trait for ssz encoding and decoding. |
| Decode | Trait that allows zero-copy read of value-references from slices in ssz format. |
| Encode | Trait that allows zero-copy write of value-references to slices in ssz format. |
| Size | Indicate the size type of the current ssz value. |
Type Definitions
| LengthOffset | Type for length offset used for variable-sized item placeholder. |