[#OPENSSL_hexstr2buf] = OPENSSL_hexstr2buf :mrdocs: Decode a hexadecimal string into a newly allocated byte buffer. == Synopsis Declared in `<openssl/crypto.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- unsigned char* OPENSSL_hexstr2buf( char const* str, long* buflen); ---- == Return Value Allocated buffer with decoded bytes, or NULL on error; free with OPENSSL_free(). == Parameters [cols="1,4"] |=== | Name| Description | *str* | NUL‐terminated hex text (optional ':' separators between octets). | *buflen* | Receives the number of decoded bytes, or may be NULL. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#