public static ByteSlice decompressByte(ByteSlice cmpData, int itemSize, long maxVal) {
        try {
            return decompressNumber(cmpData, itemSize, 0, maxVal, BhcompressLibrary.INSTANCE::JavaDecompress_Number_Byte_NP);
        } 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