Transfers the specified source buffer's data to this buffer starting at the current {@code writerIndex} and increases the {@code writerIndex}by the number of the transferred bytes (= {@code length}). This method is basically same with {@link #writeBytes(HornetQBuffer,int,int)}, except that this method increases the {@code readerIndex} of the sourcebuffer by the number of the transferred bytes (= {@code length}) while {@link #writeBytes(HornetQBuffer,int,int)} does not.
@param length the number of bytes to transfer
@throws IndexOutOfBoundsException if {@code length} is greater than {@code this.writableBytes} orif {@code length} is greater then {@code src.readableBytes}
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.