Module hex
Source - DecodeError
- Errors that can be encountered on decoding data (encoding data does not error)
- TABLE_ENCODER_LEN
- Length of encoding table (not actually used in encoding/decoding data)
- TABLE_ENCODER_LOWER
- Encoding table of lowercased characters, length 16, mapping a value from 0-15
to a hex byte (lower letters)
- TABLE_ENCODER_UPPER
- Encoding table of uppercased characters, length 16, mapping a value from 0-15
to a hex byte (upper letters)
- decode_hex
- Decodes a slice of hex bytes into a byte vector. This function handles and
supports both uppercase and lowercase characters.
- encode_hex
- Encodes a slice of bytes into a String, using lowercase characters
- encode_hex_upper
- Encodes a slice of bytes into a String, using uppercase characters