public static ByteSlice compressIndexedStr_v1(ByteSlice data, int itemSize) {
        try {
            return doCompressIndexedStr_v1(data, itemSize);
        } catch (Throwable t) {
            logError(t);
            throw t;
        }
    }
Wrapper of brighthouse compression.
This class is closely linked to cpp code and native data structure, don't touch it unless you know what you are doing.

Note that all values here are in unsigned form, including max_val.
indexr-segment/src/main/java/io/indexr/compress/bh/BHCompressor.java