Exemple #1
0
 /**
  * Configures the stream for input.
  *
  * @param source A stream referencing the MDATA file to import
  * @param recordSize The size, in bytes, of each record in the source file
  */
 protected void SetupInput(Stream source, int recordSize)
 {
     Data            = new MDRFileReader(source);
     Data.RecordSize = recordSize;
 }
Exemple #2
0
 /**
  * Configures the stream for input.
  * recordSize The size, in bytes, of each record in the source file
  */
 private void SetupInput(Stream source, int recordSize = 1)
 {
     data            = new MDRFileReader(source);
     data.RecordSize = recordSize;
     source.Position = 0;
 }