code: private int[] readTypes(long typeIdsOff, int typeIdsSize) {
          Buffers.position(buffer, typeIdsOff);
          int[] typeIds = new int[typeIdsSize];
          for (int i = 0; i < typeIdsSize; i++) {
              typeIds[i] = (int) Buffers.readUInt(buffer);
          }
          return typeIds;
      }
docs: read types.