public override CharBuffer Get(char[] dst, int offset, int length) { if (((long)length << 1) > Bits.JNI_COPY_TO_ARRAY_THRESHOLD) { CheckBounds(offset, length, dst.Length); int pos = Position(); int lim = Limit(); assert(pos <= lim); int rem = (pos <= lim ? lim - pos : 0); if (length > rem) { throw new BufferUnderflowException(); } if (Order() != ByteOrder.NativeOrder()) { Bits.CopyToCharArray(Ix(pos), dst, (long)offset << 1, (long)length << 1); } else { Bits.CopyToArray(Ix(pos), dst, ArrayBaseOffset, (long)offset << 1, (long)length << 1); } Position(pos + length); } else { base.Get(dst, offset, length); } return(this); }