[−][src]Module casperlabs_types::bytesrepr
Contains serialization and deserialization code for types used throughout the system.
Enums
Error | Serialization and deserialization errors. |
Constants
I32_SERIALIZED_LENGTH | The number of bytes in a serialized |
U8_SERIALIZED_LENGTH | The number of bytes in a serialized |
U16_SERIALIZED_LENGTH | The number of bytes in a serialized |
U32_SERIALIZED_LENGTH | The number of bytes in a serialized |
U64_SERIALIZED_LENGTH | The number of bytes in a serialized |
U128_SERIALIZED_LENGTH | The number of bytes in a serialized |
U256_SERIALIZED_LENGTH | The number of bytes in a serialized |
U512_SERIALIZED_LENGTH | The number of bytes in a serialized |
Traits
FromBytes | A type which can be deserialized from a |
ToBytes | A type which can be serialized to a |
Functions
deserialize | Deserializes |
serialize | Serializes |