calling toString on the buffer