public ByteBuffer put(byte[] src, int srcOffset, int byteCount) {Arrays.checkOffsetAndCount(src.length, srcOffset, byteCount);if (byteCount > remaining()) {throw new BufferOverflowException();}for (int i = srcOffset; i < srcOffset + byteCount; ++i) {put(src[i]);}return this;}

public virtual java.nio.ByteBuffer put(byte[] src, int srcOffset, int byteCount){java.util.Arrays.checkOffsetAndCount(src.Length, srcOffset, byteCount);if (byteCount > remaining()){throw new java.nio.BufferOverflowException();}{for (int i = srcOffset; i < srcOffset + byteCount; ++i){put(src[i]);}}return this;}
