Expand description
Utilities used in this crate which can also be generally useful downstream.
Modules§
Structs§
- Slice
Reader - Implements ByteReader trait for a slice of bytes.
Enums§
- Deserialization
Error - Defines errors which can occur during deserialization.
- HexParse
Error - Defines errors which can occur during parsing of hexadecimal strings.
Traits§
- Byte
Reader - Defines how primitive values are to be read from
Self. - Byte
Writer - Defines how primitive values are to be written into
Self. - Deserializable
- Defines how to deserialize
Selffrom bytes. - Serializable
- Defines how to serialize
Selfinto bytes.
Functions§
- bytes_
to_ hex_ string - Renders an array of bytes as hex into a String.
- hex_
to_ bytes - Parses a hex string into an array of bytes of known size.
- uninit_
vector ⚠ - Returns a vector of the specified length with un-initialized memory.
- word_
to_ hex - Converts a Word into hex.