Module byte

Module byte 

Source
Expand description

A serde wrapper, that can be used to serialize and deserialize u64 types using Byte representation.

Structs§

Deser
A wrapper type which provides TryFrom implementation for types which can be deserialized by using the Byte type’s Deserialize implementation.
Ser
A wrapper which provides Serialize implementation for types which can be serialized by using the Byte type’s Serialize implementation.

Functions§

deserialize
Serializes a u64 via Byte type.
serialize
Deserializes a u64 via byte_unit::Byte type.