ByteBuffer.remove()
to know if buffer is empty or not.DoubleBuffer.remove()
to know if buffer is empty or not.remove()
to know if buffer is empty or not.IntBuffer.remove()
to know if buffer is empty or not.LongBuffer.remove()
to know if buffer is empty or not.