ByteBuf.isReadable

Returns {@code true} if and only if {@code (this.writerIndex - this.readerIndex)} is greater than {@code 0}.

  1. bool isReadable()
    class ByteBuf
    abstract
    bool
    isReadable
    ()
  2. bool isReadable(int size)

Meta