ByteBuf.forEachByteDesc

Iterates over the specified area of this buffer with the specified {@code processor} in descending order. (i.e. {@code (index + length - 1)}, {@code (index + length - 2)}, ... {@code index})

More...
  1. int forEachByteDesc(ByteProcessor processor)
  2. int forEachByteDesc(int index, int length, ByteProcessor processor)
    class ByteBuf
    abstract
    int
    forEachByteDesc

Detailed Description

@return {@code -1} if the processor iterated to or beyond the beginning of the specified area. The last-visited index If the {@link ByteProcessor#process(byte)} returned {@code false}.

Meta