I would be tempted to simplify this code and have

    processFullBuffer = (splitOffset - nextInputOffset > blockSize);

or

    processFullBuffer = (nextInputOffset + blockSize) < splitOffset;