ByteBuf.isWritable

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

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

Meta