private int forEachByteAsc0(int start, int end, ByteBufProcessor processor) throws Exception { for (; start < end; ++start) { if (!processor.process(_getByte(start))) { return start; } } return -1; }
private int forEachByteAsc0(int start, int end, ByteBufProcessor processor) throws Exception { for (; start < end; ++start) { if (!processor.process(_getByte(start))) { return start; } } return -1; }
private int forEachByteDesc0(int rStart, final int rEnd, ByteBufProcessor processor) throws Exception { for (; rStart >= rEnd; --rStart) { if (!processor.process(_getByte(rStart))) { return rStart; } } return -1; }
private int forEachByteDesc0(int rStart, final int rEnd, ByteBufProcessor processor) throws Exception { for (; rStart >= rEnd; --rStart) { if (!processor.process(_getByte(rStart))) { return rStart; } } return -1; }