@Test(expected=IndexOutOfBoundsException.class) public void copyBoundaryCheck2() { buffer.copy(0, buffer.capacity() + 1); }
public ChannelBuffer copy() { return copy(readerIndex, readableBytes()); }
AbstractChannelBuffer implements ChannelBuffer { public ChannelBuffer copy() { return copy(readerIndex, readableBytes()); } }
AbstractChannelBuffer implements ChannelBuffer { public ChannelBuffer copy() { return copy(readerIndex, readableBytes()); }  }
AbstractChannelBuffer implements ChannelBuffer { public ChannelBuffer copy() { return copy(readerIndex, readableBytes()); }  int readerIndex(); void readerIndex(int readerIndex); int writerIndex(); void writerIndex(int writerIndex); void setIndex(int readerIndex, int writerIndex); void clear(); boolean readable(); boolean writable(); int readableBytes(); int writableBytes(); void markReaderIndex(); void resetReaderIndex(); void markWriterIndex(); void resetWriterIndex(); void discardReadBytes(); void ensureWritableBytes(int writableBytes); void getBytes(int index, byte[] dst); void getBytes(int index, ChannelBuffer dst); void getBytes(int index, ChannelBuffer dst, int length); void setBytes(int index, byte[] src); void setBytes(int index, ChannelBuffer src); void setBytes(int index, ChannelBuffer src, int length); byte readByte(); ChannelBuffer readBytes(int length); void readBytes(byte[] dst, int dstIndex, int length); void readBytes(byte[] dst); void readBytes(ChannelBuffer dst); void readBytes(ChannelBuffer dst, int length); void readBytes(ChannelBuffer dst, int dstIndex, int length); void readBytes(ByteBuffer dst); void readBytes(OutputStream out, int length); void skipBytes(int length); void writeByte(int value); void writeBytes(byte[] src, int srcIndex, int length); void writeBytes(byte[] src); void writeBytes(ChannelBuffer src); void writeBytes(ChannelBuffer src, int length); void writeBytes(ChannelBuffer src, int srcIndex, int length); void writeBytes(ByteBuffer src); int writeBytes(InputStream in, int length); ChannelBuffer copy(); ByteBuffer toByteBuffer(); @Override boolean equals(Object o); int compareTo(ChannelBuffer that); @Override String toString(); }
AbstractChannelBuffer implements ChannelBuffer { public ChannelBuffer copy() { return copy(readerIndex, readableBytes()); }  int readerIndex(); void readerIndex(int readerIndex); int writerIndex(); void writerIndex(int writerIndex); void setIndex(int readerIndex, int writerIndex); void clear(); boolean readable(); boolean writable(); int readableBytes(); int writableBytes(); void markReaderIndex(); void resetReaderIndex(); void markWriterIndex(); void resetWriterIndex(); void discardReadBytes(); void ensureWritableBytes(int writableBytes); void getBytes(int index, byte[] dst); void getBytes(int index, ChannelBuffer dst); void getBytes(int index, ChannelBuffer dst, int length); void setBytes(int index, byte[] src); void setBytes(int index, ChannelBuffer src); void setBytes(int index, ChannelBuffer src, int length); byte readByte(); ChannelBuffer readBytes(int length); void readBytes(byte[] dst, int dstIndex, int length); void readBytes(byte[] dst); void readBytes(ChannelBuffer dst); void readBytes(ChannelBuffer dst, int length); void readBytes(ChannelBuffer dst, int dstIndex, int length); void readBytes(ByteBuffer dst); void readBytes(OutputStream out, int length); void skipBytes(int length); void writeByte(int value); void writeBytes(byte[] src, int srcIndex, int length); void writeBytes(byte[] src); void writeBytes(ChannelBuffer src); void writeBytes(ChannelBuffer src, int length); void writeBytes(ChannelBuffer src, int srcIndex, int length); void writeBytes(ByteBuffer src); int writeBytes(InputStream in, int length); ChannelBuffer copy(); ByteBuffer toByteBuffer(); @Override boolean equals(Object o); int compareTo(ChannelBuffer that); @Override String toString();  }