Ejemplo n.º 1
0
 public ReplayWriter(Stream stream, ReplayInfo flag)
     : base(stream)
 {
     _stream     = stream;
     Hasher      = new StreamSHA1();
     ReplayFlags = flag;
     Write((uint)flag);
 }
Ejemplo n.º 2
0
        public ReplayReader(Stream stream)
            : base(stream)
        {
            RepStream = this.BaseStream;
            Hasher    = new StreamSHA1();

            ReplayFlags = (ReplayInfo)ReadUInt32();
        }