Hex Encoding and Decoding
Perform hex encoding
| char* output | an array of at least input_length*2 bytes |
| const(ubyte)* input | is some binary data |
| size_t input_length | length of input in bytes |
| bool uppercase | should output be upper or lower case? |
Perform hex encoding
| const(ubyte)* input | some input |
| size_t input_length | length of input in bytes |
| bool uppercase | should output be upper or lower case? |
Perform hex encoding
| Vector!(ubyte, Alloc) input | some input |
| bool uppercase | should output be upper or lower case? |
Perform hex decoding
| ubyte* output | an array of at least input_length/2 bytes |
| const(char)* input | some hex input |
| size_t input_length | length of input in bytes |
| size_t input_consumed | is an output parameter which says how many bytes of input were actually consumed. If less than input_length, then the range input[consumed:length] should be passed in later along with more input. |
| bool ignore_ws | ignore whitespace on input; if false, throw new an exception if whitespace is encountered |
Perform hex decoding
| ubyte* output | an array of at least input_length/2 bytes |
| const(char)* input | some hex input |
| size_t input_length | length of input in bytes |
| bool ignore_ws | ignore whitespace on input; if false, throw new an exception if whitespace is encountered |
Perform hex decoding
| ubyte* output | an array of at least input_length/2 bytes |
| string input | some hex input |
| bool ignore_ws | ignore whitespace on input; if false, throw new an exception if whitespace is encountered |
Perform hex decoding
| string input | some hex input |
| bool ignore_ws | ignore whitespace on input; if false, throw new an exception if whitespace is encountered |
Perform hex decoding
| Vector!ubyte input | some hex input |
| bool ignore_ws | ignore whitespace on input; if false, throw new an exception if whitespace is encountered |
Perform hex decoding
| const(char)* input | some hex input |
| size_t input_length | the length of input in bytes |
| bool ignore_ws | ignore whitespace on input; if false, throw new an exception if whitespace is encountered |
Perform hex decoding
| string input | some hex input |
| bool ignore_ws | ignore whitespace on input; if false, throw new an exception if whitespace is encountered |