Exemplo n.º 1
0
 public Deserializer(EEPK_File _eepkFile, string location)
 {
     saveLocation = location;
     eepk_File    = _eepkFile;
     ValidateFile();
     WriteBinaryEEPK();
     File.WriteAllBytes(saveLocation, bytes.ToArray());
 }
Exemplo n.º 2
0
        void ReadXmlFile(string path)
        {
            YAXSerializer serializer = new YAXSerializer(typeof(EEPK_File), YAXSerializationOptions.DontSerializeNullObjects);

            eepk_File = (EEPK_File)serializer.DeserializeFromFile(path);
        }
Exemplo n.º 3
0
 public Deserializer(EEPK_File _eepkFile)
 {
     eepk_File = _eepkFile;
     ValidateFile();
     WriteBinaryEEPK();
 }