ByteBuf.discardSomeReadBytes

Similar to {@link ByteBuf#discardReadBytes()} except that this method might discard some, all, or none of read bytes depending on its internal implementation to reduce overall memory bandwidth consumption at the cost of potentially additional memory consumption.

class ByteBuf
abstract
discardSomeReadBytes
()

Meta