Crate hexhex_impl Copy item path Source DisplayOptions Options for displaying bytes as hex FromHexError Represents an error encountered while decoding a hex string Hex Wrapper struct to display bytes as hex HexDecodeAsciiIterator Like HexDecodeIterator, but for (ASCII) u8
instead of char
s. HexDecodeIterator Fallible iterator that produces u8 from a hex string (or byte string) one at a time.
Accepts lowercase, uppercase, and mixedcase hex digits a-f.
Does not accept leading ‘0x’ prefix. Case decode_ascii_to_buf Decode the given ASCII hex string and write the corresponding bytes to dst.
Returns the number of bytes written to dst on success. decode_ascii_to_buf_exact Like decode_ascii_to_buf
, but returns an error if not all of dst has been overwritten. decode_to_buf Decode the given hex string and write the corresponding bytes to dst.
Returns the number of bytes written to dst on success. decode_to_buf_exact Like decode_to_buf
, but returns an error if not all of dst has been overwritten. hex Shorthand for Hex::new