Appends the contents of the given buffer to the contents of the underlying buffer and returns the result as a new ByteBuffer.
Copies the current contents of the underlying buffer into a new ByteBuffer.
Converts the contents of the underlying ByteBuffer into a String using the US-ASCII charset.