code: private TreeMap<Integer, Integer> createResourceMap(FieldMap fieldMap, FixedMeta rscFixedMeta, FixedData rscFixedData)
     {
        TreeMap<Integer, Integer> resourceMap = new TreeMap<Integer, Integer>();
        int itemCount = rscFixedMeta.getAdjustedItemCount();
  
        for (int loop = 0; loop < itemCount; loop++)
        {
           byte[] data = rscFixedData.getByteArrayValue(loop);
           if (data == null || data.length < fieldMap.getMaxFixedDataSize(0))
           {
              continue;
           }
  
           Integer uniqueID = Integer.valueOf(MPPUtility.getShort(data, 0));
           resourceMap.put(uniqueID, Integer.valueOf(loop));
        }
  
        return (resourceMap);
     }
docs: This method maps the resource unique identifiers to their index number
  within the FixedData block.
  
  @param fieldMap field map
  @param rscFixedMeta resource fixed meta data
  @param rscFixedData resource fixed data
  @return map of resource IDs to resource data