@Test public void readableBytes() { when(delegate.readableBytes()).thenReturn(1); assertEquals(1, buffer.readableBytes()); }
@Override public int readableBytes() { return buf.readableBytes(); }
ForwardingReadableBuffer implements ReadableBuffer { @Override public int readableBytes() { return buf.readableBytes(); } }
ForwardingReadableBuffer implements ReadableBuffer { @Override public int readableBytes() { return buf.readableBytes(); } ForwardingReadableBuffer(ReadableBuffer buf); }
ForwardingReadableBuffer implements ReadableBuffer { @Override public int readableBytes() { return buf.readableBytes(); } 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 int readableBytes() { return buf.readableBytes(); } 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();  }