@Override public NativeSizeBuffer put(NativeBuffer buffer) { if (remaining() < buffer.remaining()) { throw new IndexOutOfBoundsException(); } while (buffer.hasRemaining()) { put(buffer.get()); } return this; }