Change need_hexify so it optionally tests for printable UTF-8 as opposed
to printable ASCII.
This commit is contained in:
+1
-1
@@ -8,7 +8,7 @@
|
||||
|
||||
#include <ctype.h>
|
||||
|
||||
bool need_hexify (const u8 *buf, const int len);
|
||||
bool need_hexify (const u8 *buf, const int len, bool accept_utf8);
|
||||
void exec_hexify (const u8 *buf, const int len, u8 *out);
|
||||
|
||||
bool is_valid_hex_char (const u8 c);
|
||||
|
||||
Reference in New Issue
Block a user