/// <summary> /// Creates an instance of the <see cref="Record"/> class. /// </summary> /// <param name="header">The record header.</param> /// <param name="body">The record body.</param> public Record(RecordHeader header, RecordBody body) { Header = header; Body = body; }
/// <summary> /// Creates an instance of <see cref="Record"/>. /// </summary> /// <param name="header">The record header.</param> /// <param name="body">The record body.</param> public Record(RecordHeader header, RecordBody body) { Header = header; Body = body; }
/// <summary> /// Jumps in the file to the location of the record with the given header. /// </summary> /// <param name="header">The header to seek to.</param> public void Seek(RecordHeader header) { m_fileReader.BaseStream.Seek(header.Position, SeekOrigin.Begin); }