private ByteRange getNextIncludedRange() throws IOException {
        if (includedIterator.hasNext()) {
            final long segment = includedIterator.next();
            return getSegmentRange(segment);
        }

        return null;
    }
Gets the byte range for the next included segment.
stroom-data/stroom-data-store-impl-fs/src/main/java/stroom/data/store/impl/fs/RASegmentInputStream.java