/** * Transfers bytes from the given source array into this buffer array * @param start start offset of this buffer array * @param len The maximum number of bytes to be read from the given array * @param srcArray The array from which bytes are to be read * @param srcOffset The offset within the given array of the first byte to be * read */ public void putMultiple(long start, int len, byte[] srcArray, int srcOffset) { multiple(start, len, srcArray, srcOffset, PUT_MULTIPLE_VISITOR); }
/** * Transfers bytes from this buffer array into the given destination array * @param start start offset of this buffer array * @param len The maximum number of bytes to be written to the given array * @param dstArray The array into which bytes are to be written * @param dstOffset The offset within the given array of the first byte to be * written * @return number of bytes read */ public int getMultiple(long start, int len, byte[] dstArray, int dstOffset) { multiple(start, len, dstArray, dstOffset, GET_MULTIPLE_VISTOR); return len; }
/** * Transfers bytes from the given source array into this buffer array * @param start start offset of this buffer array * @param len The maximum number of bytes to be read from the given array * @param srcArray The array from which bytes are to be read * @param srcOffset The offset within the given array of the first byte to be * read */ public void putMultiple(long start, int len, byte[] srcArray, int srcOffset) { multiple(start, len, srcArray, srcOffset, PUT_MULTIPLE_VISITOR); }
/** * Transfers bytes from the given source array into this buffer array * @param start start offset of this buffer array * @param len The maximum number of bytes to be read from the given array * @param srcArray The array from which bytes are to be read * @param srcOffset The offset within the given array of the first byte to be * read */ public void putMultiple(long start, int len, byte[] srcArray, int srcOffset) { multiple(start, len, srcArray, srcOffset, PUT_MULTIPLE_VISITOR); }
/** * Transfers bytes from this buffer array into the given destination array * @param start start offset of this buffer array * @param len The maximum number of bytes to be written to the given array * @param dstArray The array into which bytes are to be written * @param dstOffset The offset within the given array of the first byte to be * written * @return number of bytes read */ public int getMultiple(long start, int len, byte[] dstArray, int dstOffset) { multiple(start, len, dstArray, dstOffset, GET_MULTIPLE_VISTOR); return len; }
/** * Transfers bytes from the given source array into this buffer array * @param start start offset of this buffer array * @param len The maximum number of bytes to be read from the given array * @param srcArray The array from which bytes are to be read * @param srcOffset The offset within the given array of the first byte to be * read */ public void putMultiple(long start, int len, byte[] srcArray, int srcOffset) { multiple(start, len, srcArray, srcOffset, PUT_MULTIPLE_VISITOR); }
/** * Transfers bytes from this buffer array into the given destination array * @param start start offset of this buffer array * @param len The maximum number of bytes to be written to the given array * @param dstArray The array into which bytes are to be written * @param dstOffset The offset within the given array of the first byte to be * written * @return number of bytes read */ public int getMultiple(long start, int len, byte[] dstArray, int dstOffset) { multiple(start, len, dstArray, dstOffset, GET_MULTIPLE_VISTOR); return len; }
/** * Transfers bytes from this buffer array into the given destination array * @param start start offset of this buffer array * @param len The maximum number of bytes to be written to the given array * @param dstArray The array into which bytes are to be written * @param dstOffset The offset within the given array of the first byte to be * written * @return number of bytes read */ public int getMultiple(long start, int len, byte[] dstArray, int dstOffset) { multiple(start, len, dstArray, dstOffset, GET_MULTIPLE_VISTOR); return len; }