Expand description
Simple Base-16 (aka hexidecimal) encoding
Structs§
- Char
Pair - Character pair representing single byte
- Decoder
- Decoder that transforms pairs of characters into individual decimal bytes
- Encoder
- Hex encoder, implements iterator returning individual byte as pair of characters.
Enums§
- Decode
Error - Error happening during decoding
Functions§
- const_
hex_ lower - Creates HEX encoded array out of input
- const_
hex_ upper - Creates HEX encoded array out of input
- hex_
lower - Writes lower case hex into
out
- hex_
lower_ to_ vec - Writes lower case hex appending to
out
vector - hex_
upper - Writes upper case hex into
out
- hex_
upper_ to_ vec - Writes upper case hex appending to
out
vector - required_
decode_ len - Length required to decode HEX
- required_
encode_ len - Length required to HEX encode
- unhex
- Decodes hex-encoded
input
intoout
, truncating by its size, if necessary. - unhex_
pair - Converts hex character pair into underlying byte
- unhex_
to_ vec - Decodes hex-encoded
input
intoout
, truncating by its size, if necessary.