hex2mem, mem2hex - convert between ascii strings of hex digits and binary
int hex2mem ( char *hex, void *vmem );
void mem2hex ( void *vmem, int n, char *s );
hex2mem converts an input null-terminated string of ascii hex digits
into the corresponding binary representation.
mem2hex converts a n bytes of memory beginning at vmem to the
corresponding hexadecimal ascii string.
hex2mem returns the number of characters converted,
or -1 if the number of characters was not a even number
of bytes.
$(STOCKLIBS)
MT-Safe
Daniel Quinlan
Table of Contents
Antelope Release 4.7 Linux 2.4.19-4GB 2005-07-18
Boulder Real Time Technologies, Inc
For more information, contact support@brtt.com