wiwi::encoding

Module hex

Source

Enums§

  • Errors that can be encountered on decoding data (encoding data does not error)

Constants§

  • Length of encoding table (not actually used in encoding/decoding data)

Statics§

  • Encoding table of lowercased characters, length 16, mapping a value from 0-15 to a hex byte (lower letters)
  • Encoding table of uppercased characters, length 16, mapping a value from 0-15 to a hex byte (upper letters)

Functions§

  • Decodes a slice of hex bytes into a byte vector. This function handles and supports both uppercase and lowercase characters.
  • Encodes a slice of bytes into a String, using lowercase characters
  • Encodes a slice of bytes into a String, using uppercase characters