Expand description
Lowercase hex encoding, and decoding that takes either case, an optional 0x or 0X
prefix and surrounding whitespace.
Enums§
- BadHex
- Why text did not decode as hex.
Functions§
- decode
- Decodes hex into a fresh vector,
0xprefix and whitespace optional. - decode_
array - Decodes hex into exactly
Nbytes;0xprefix and whitespace optional. - decode_
into - Decodes hex into
out, which it must fill exactly;0xprefix and whitespace optional. - encode
- The bytes as lowercase hex, two digits each, with no prefix.
- encode_
prefixed - The bytes as lowercase hex with a
0xprefix.