Android Utililty Methods ByteBuffer Check

List of utility methods to do ByteBuffer Check

Description

The list of methods to do ByteBuffer Check are organized into topic(s).

Method

booleanisFull(ByteBuffer buf)
is Full
return buf.position() >= buf.capacity();
intbytesRemaining(ByteBuffer buf)
bytes Remaining
return buf.capacity() - buf.position();