Exemplo n.º 1
0
 /// <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;
 }
Exemplo n.º 2
0
Arquivo: Record.cs Projeto: rmc00/gsf
 /// <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;
 }
Exemplo n.º 3
0
 /// <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);
 }
Exemplo n.º 4
0
 /// <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);
 }