public ReplayWriter(Stream stream, ReplayInfo flag) : base(stream) { _stream = stream; Hasher = new StreamSHA1(); ReplayFlags = flag; Write((uint)flag); }
public ReplayReader(Stream stream) : base(stream) { RepStream = this.BaseStream; Hasher = new StreamSHA1(); ReplayFlags = (ReplayInfo)ReadUInt32(); }