Function gnunet_sys::GNUNET_DNSPARSER_hex_to_bin [−][src]
pub unsafe extern "C" fn GNUNET_DNSPARSER_hex_to_bin(
hex: *const c_char,
data: *mut c_void
) -> usize
Convert a HEX string to block of binary data.
@param hex HEX string to convert (may contain mixed case)
@param data where to write result, must be
at least strlen(hex)/2
bytes long
@return number of bytes written to data