ByteBuf.maxWritableBytes

Returns the maximum possible number of writable bytes, which is equal to {@code (this.maxCapacity - this.writerIndex)}.

class ByteBuf
abstract
int
maxWritableBytes
()

Meta