UnrealPackageReader.js
    Preparing search index...

    Function readArrayIndex

    • A static-array element index, in the engine's own variable-length encoding:

      0xxxxxxx                             one byte, 0-127
      10xxxxxx xxxxxxxx                    two bytes, big-endian, 128-16383
      11xxxxxx xxxxxxxx xxxxxxxx xxxxxxxx  four bytes, big-endian
      

      Big-endian, unlike every other multi-byte integer in the format, because it is written byte by byte rather than as a word. This is not a compact index - that encoding puts its continuation bit in a different place.

      Parameters

      Returns number