char * asciistring ( char *memory, int l ); void fdasciidump ( int fd, char *memory, int l ); void fdhexdump ( int fd, void *memory, int l ); int fdread_asciidump ( int fd, char *memory, int l ); int fdread_hexdump ( int fd, char *memory, int l );
fdasciidump uses fdwrite to write the printable string from asciistring.
fdhexdump uses fdwrite to write the hexadecimal string from hexdump_string(3).
Both fdasciidump and fdhexdump must be followed with a call to fdflush(3) or fdclose(3) to write the internal fdwrite buffers.
fdread_asciidump and fdread_hexdump convert the string representations back to memory.
hexdump(3)