Dumps the buffer memory into a hex representation.
Useful for debugging.
a Buffer whose memory to dump