@Override
    public int intValueAt(int index) {
        switch (version) {
            case Version.VERSION_0_ID:
                return (int) NumOp.getVal(numType, dataAddr, index, minVal);
            default:
                return NumOp.getInt(dataAddr, index);
        }
    }
Note that this method could update the content of dpn.
Make sure to call this method before you actually save the dpn instance to storage.
indexr-segment/src/main/java/io/indexr/segment/pack/DataPack.java