Allocate a fresh ByteBuffer
Allocate a fresh ByteBuffer
size of desired ByteBuffer
Get the String
representation of the ByteBuffer
Check the array of buffers to ensure they are all empty
Check the array of buffers to ensure they are all empty
ByteBuffer
s to check for data
true if they are empty, false if there is data remaining
Check the array of buffers to ensure they are all empty
Check the array of buffers to ensure they are all empty
ByteBuffer
s to check for data
true if they are empty, false if there is data remaining
Join the two buffers into a single ByteBuffer.
Join the two buffers into a single ByteBuffer. This method is guaranteed to return a ByteBuffer, but it may be empty.
Make a copy of the ByteBuffer, zeroing the input buffer
Replaces any empty buffers except for the last one with the emptyBuffer
to allow GC of depleted ByteBuffers and returns the index of the first
non-empty ByteBuffer, or the last index, whichever comes first.
Merge the ByteBuffer
s into a single buffer
Make a String from the collection of ByteBuffers