public void setPointerIndex(int index) {
        this.currentIndex = index & GConv.INT_MASK;
    }
A convenience method for setting the index using
an integer.
GPL/DMG/src/dmg/java/mobiledevices/dmg/ghidra/GBinaryReader.java