public CrtMlFrt(IStreamReader reader, RecordType id, ushort length) : base(reader, id, length) { long pos = reader.BaseStream.Position; this.frtHeader = new FrtHeader(reader); this.cb = reader.ReadUInt32(); this.xmltkChain = new XmlTkChain(reader); reader.ReadBytes(4); // unused reader.BaseStream.Position = pos + length; }
public CrtMlFrtContinue(IStreamReader reader, RecordType id, ushort length) : base(reader, id, length) { // assert that the correct record type is instantiated Debug.Assert(this.Id == ID); this.FrtHeader = new FrtHeader(reader); this.XmlTkChain = new XmlTkChain(reader); //unused reader.ReadBytes(4); // assert that the correct number of bytes has been read from the stream Debug.Assert(this.Offset + this.Length == this.Reader.BaseStream.Position); }