Exemple #1
0
        static public void SaveToBinFile(String fileName, T_DictFile dictFile)
        {
            Stream s = CSerialization.SerializeBinary(dictFile);

            s.Position = 0;
            CFile.WriteStream(fileName, (MemoryStream)s);
        }
Exemple #2
0
        public void Save(String fileName)
        {
            Stream s = CSerialization.SerializeBinary(_Traffic);

            s.Position = 0;
            CFile.WriteStream(fileName, (MemoryStream)s);
        }