int bufdumplib_text(FILE *fp, const void *buf, size_t len)
Write a comma-delimited hex byte array (e.g. for use in C source) into a file pointer.
int bufdumplib_dump(FILE *fp, const void *buf, size_t len, int flags)
Write a hex dump of a binary memory buffer over the specified length into a file pointer.
int bufdumplib_diff(FILE *fp, const void *b0, const void *b1, size_t len, int flags)
Write a hex diff of two binary memory buffers over the specified length into a file pointer.