/**
* @see ByteBuffer#get(byte[], int,int)
*/
public IoBuffer get(byte[] dst, int offset, int length) {
if (remaining() < length) {
throw new BufferUnderflowException();
}
int remainsToCopy = length;
int currentOffset = offset;
while (remainsToCopy > 0) {