Exemplo n.º 1
0
 public StructureValueCollection Serialize()
 {
     StructureValueCollection result = new StructureValueCollection();
     result.SetNumber("string count", (uint)StringCount);
     result.SetNumber("locale table size", (uint)LocaleTableSize);
     result.SetNumber("locale index table offset", _converter.PointerToRaw(LocaleIndexTableLocation));
     result.SetNumber("locale data index offset", _converter.PointerToRaw(LocaleDataLocation));
     if (IndexTableHash != null)
         result.SetRaw("index table hash", IndexTableHash);
     if (StringDataHash != null)
         result.SetRaw("string data hash", StringDataHash);
     return result;
 }