class CreateUidsIterator implements SortedKeyValueIterator<Key,Value>, OptionDescriber {

    public static int lastNull(ByteSequence bs) {
        int pos = bs.length();
        while (--pos > 0 && bs.byteAt(pos) != 0x00)
            ;
        return pos;
    }

}