final void put(float[] src, int srcOffset, int floatCount) { int byteCount = checkPutBounds(SizeOf.FLOAT, src.length, srcOffset, floatCount); this.block.pokeFloatArray(offset + position, src, srcOffset, floatCount, order.needsSwap); position += byteCount; }
final void put(long[] src, int srcOffset, int longCount) { int byteCount = checkPutBounds(SizeOf.LONG, src.length, srcOffset, longCount); this.block.pokeLongArray(offset + position, src, srcOffset, longCount, order.needsSwap); position += byteCount; }
final void put(double[] src, int srcOffset, int doubleCount) { int byteCount = checkPutBounds(SizeOf.DOUBLE, src.length, srcOffset, doubleCount); this.block.pokeDoubleArray(offset + position, src, srcOffset, doubleCount, order.needsSwap); position += byteCount; }
final void put(char[] src, int srcOffset, int charCount) { int byteCount = checkPutBounds(SizeOf.CHAR, src.length, srcOffset, charCount); this.block.pokeCharArray(offset + position, src, srcOffset, charCount, order.needsSwap); position += byteCount; }
final void put(short[] src, int srcOffset, int shortCount) { int byteCount = checkPutBounds(SizeOf.SHORT, src.length, srcOffset, shortCount); this.block.pokeShortArray(offset + position, src, srcOffset, shortCount, order.needsSwap); position += byteCount; }
final void put(int[] src, int srcOffset, int intCount) { int byteCount = checkPutBounds(SizeOf.INT, src.length, srcOffset, intCount); this.block.pokeIntArray(offset + position, src, srcOffset, intCount, order.needsSwap); position += byteCount; }
@Override public ByteBuffer put(byte[] src, int srcOffset, int byteCount) { if (isReadOnly) { throw new ReadOnlyBufferException(); } checkPutBounds(1, src.length, srcOffset, byteCount); this.block.pokeByteArray(offset + position, src, srcOffset, byteCount); position += byteCount; return this; }
final void put(double[] src, int srcOffset, int doubleCount) { int byteCount = checkPutBounds(SizeOf.DOUBLE, src.length, srcOffset, doubleCount); this.block.pokeDoubleArray(offset + position, src, srcOffset, doubleCount, order.needsSwap); position += byteCount; }
final void put(long[] src, int srcOffset, int longCount) { int byteCount = checkPutBounds(SizeOf.LONG, src.length, srcOffset, longCount); this.block.pokeLongArray(offset + position, src, srcOffset, longCount, order.needsSwap); position += byteCount; }
final void put(short[] src, int srcOffset, int shortCount) { int byteCount = checkPutBounds(SizeOf.SHORT, src.length, srcOffset, shortCount); this.block.pokeShortArray(offset + position, src, srcOffset, shortCount, order.needsSwap); position += byteCount; }
final void put(float[] src, int srcOffset, int floatCount) { int byteCount = checkPutBounds(SizeOf.FLOAT, src.length, srcOffset, floatCount); this.block.pokeFloatArray(offset + position, src, srcOffset, floatCount, order.needsSwap); position += byteCount; }
final void put(short[] src, int srcOffset, int shortCount) { int byteCount = checkPutBounds(SizeOf.SHORT, src.length, srcOffset, shortCount); this.block.pokeShortArray(offset + position, src, srcOffset, shortCount, order.needsSwap); position += byteCount; }
final void put(float[] src, int srcOffset, int floatCount) { int byteCount = checkPutBounds(SizeOf.FLOAT, src.length, srcOffset, floatCount); this.block.pokeFloatArray(offset + position, src, srcOffset, floatCount, order.needsSwap); position += byteCount; }
final void put(int[] src, int srcOffset, int intCount) { int byteCount = checkPutBounds(SizeOf.INT, src.length, srcOffset, intCount); this.block.pokeIntArray(offset + position, src, srcOffset, intCount, order.needsSwap); position += byteCount; }
final void put(short[] src, int srcOffset, int shortCount) { int byteCount = checkPutBounds(SizeOf.SHORT, src.length, srcOffset, shortCount); this.block.pokeShortArray(offset + position, src, srcOffset, shortCount, order.needsSwap); position += byteCount; }
final void put(float[] src, int srcOffset, int floatCount) { int byteCount = checkPutBounds(SizeOf.FLOAT, src.length, srcOffset, floatCount); this.block.pokeFloatArray(offset + position, src, srcOffset, floatCount, order.needsSwap); position += byteCount; }
final void put(short[] src, int srcOffset, int shortCount) { int byteCount = checkPutBounds(SizeOf.SHORT, src.length, srcOffset, shortCount); this.block.pokeShortArray(offset + position, src, srcOffset, shortCount, order.needsSwap); position += byteCount; }
final void put(char[] src, int srcOffset, int charCount) { int byteCount = checkPutBounds(SizeOf.CHAR, src.length, srcOffset, charCount); this.block.pokeCharArray(offset + position, src, srcOffset, charCount, order.needsSwap); position += byteCount; }
final void put(long[] src, int srcOffset, int longCount) { int byteCount = checkPutBounds(SizeOf.LONG, src.length, srcOffset, longCount); this.block.pokeLongArray(offset + position, src, srcOffset, longCount, order.needsSwap); position += byteCount; }
@Override public ByteBuffer put(byte[] src, int srcOffset, int byteCount) { if (isReadOnly) { throw new ReadOnlyBufferException(); } checkPutBounds(1, src.length, srcOffset, byteCount); this.block.pokeByteArray(offset + position, src, srcOffset, byteCount); position += byteCount; return this; }