Module hex
Source Expand description
§Hex encoding and decoding
- HexIterator
- Iterator over a hex-encoded string slice which decodes hex and yields bytes.
- Error
- Hex decoding error
- FromHex
- Trait for objects that can be deserialized from hex strings
- ToHex
- Trait for objects that can be serialized as hex strings
- format_hex
- Output hex into an object implementing
fmt::Write
, which is usually more
efficient than going through a String
using ToHex
. - format_hex_reverse
- Output hex in reverse order; used for Sha256dHash whose standard hex
encoding has the bytes reversed.