@Test public void readBytes() { byte[] dest = new byte[1]; buffer.readBytes(dest, 1, 2); verify(delegate).readBytes(dest, 1, 2); }
@Override public void readBytes(byte[] dest, int destOffset, int length) { buf.readBytes(dest, destOffset, length); }
ForwardingReadableBuffer implements ReadableBuffer { @Override public void readBytes(byte[] dest, int destOffset, int length) { buf.readBytes(dest, destOffset, length); } }
ForwardingReadableBuffer implements ReadableBuffer { @Override public void readBytes(byte[] dest, int destOffset, int length) { buf.readBytes(dest, destOffset, length); } ForwardingReadableBuffer(ReadableBuffer buf); }
ForwardingReadableBuffer implements ReadableBuffer { @Override public void readBytes(byte[] dest, int destOffset, int length) { buf.readBytes(dest, destOffset, length); } ForwardingReadableBuffer(ReadableBuffer buf); @Override int readableBytes(); @Override int readUnsignedByte(); @Override int readInt(); @Override void skipBytes(int length); @Override void readBytes(byte[] dest, int destOffset, int length); @Override void readBytes(ByteBuffer dest); @Override void readBytes(OutputStream dest, int length); @Override ReadableBuffer readBytes(int length); @Override boolean hasArray(); @Override byte[] array(); @Override int arrayOffset(); @Override void close(); @Override String toString(); }
ForwardingReadableBuffer implements ReadableBuffer { @Override public void readBytes(byte[] dest, int destOffset, int length) { buf.readBytes(dest, destOffset, length); } ForwardingReadableBuffer(ReadableBuffer buf); @Override int readableBytes(); @Override int readUnsignedByte(); @Override int readInt(); @Override void skipBytes(int length); @Override void readBytes(byte[] dest, int destOffset, int length); @Override void readBytes(ByteBuffer dest); @Override void readBytes(OutputStream dest, int length); @Override ReadableBuffer readBytes(int length); @Override boolean hasArray(); @Override byte[] array(); @Override int arrayOffset(); @Override void close(); @Override String toString();  }