Пример #1
0
        public void WriteFile(string path)
        {
            var stream = new FileStream(path, FileMode.OpenOrCreate);

            RealHeader.Write(stream);
            InputLogIo.Write(stream, InputLog);
            stream.Close();
        }
Пример #2
0
        public void ReadFile(string path)
        {
            Path = path;

            var stream = new FileStream(path, FileMode.Open);

            RealHeader = new Header(stream);
            InputLog   = InputLogIo.Read(stream);
            stream.Close();
        }