Teach uc_hex_decode to skip spaces
This commit is contained in:
@@ -20,8 +20,8 @@ extern "C" {
|
||||
*/
|
||||
char* uc_hex_encode(const uint8_t *in, size_t len, char *out);
|
||||
|
||||
/** Decode hex. Will stop at the first non-hex digit
|
||||
* (anything not 0-9,a-f or A-F)
|
||||
/** Decode hex. Will stop at the first non-convertible hex-digit
|
||||
* spaces(' ','\t,'\r','\n') in input are skipped
|
||||
* Subtract the return value from the passed in @out to find
|
||||
* the length of the converted data
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user