unhexify() function
Convert a string of hexadecimal pairs into its binary representation.
Syntax
size_t unhexify(uint8_t *bin,
const char *hex,
size_t count);
Arguments
bin
Buffer to store binary representation. The buffer size must be at least @p count.
hex
String with hexadecimal pairs to convert into its binary representation.
count
Number of hexadecimal pairs to convert.
Return value
The number of converted hexadecimal pairs.