Expand description
Serialization primitives for arrays.
Structs§
- Serializer/deserializer newtype which encodes bytes as either binary or hex.
Functions§
- Deserialize from hex when using human-readable formats or binary if the format is binary. Fails if the
buffer
isn’t the exact same size as the resulting array. - Serialize the given type as lower case hex when using human-readable formats or binary if the format is binary.
- Serialize the given type as upper case hex when using human-readable formats or binary if the format is binary.