ByteBuf.capacity

Returns the number of bytes (octets) this buffer can contain.

  1. int capacity()
    class ByteBuf
    abstract
    int
    capacity
    ()
  2. ByteBuf capacity(int newCapacity)

Meta