Android Utililty Methods Buffer Get

List of utility methods to do Buffer Get

Description

The list of methods to do Buffer Get are organized into topic(s).

Method

intpositionInBytes(Buffer dst)
position In Bytes
if (dst instanceof ByteBuffer)
    return dst.position();
else if (dst instanceof ShortBuffer)
    return dst.position() << 1;
else if (dst instanceof CharBuffer)
    return dst.position() << 1;
else if (dst instanceof IntBuffer)
    return dst.position() << 2;
...