Exemple #1
0
 /// <summary>
 /// Default implementation follows the V10 file specification as the most current version available at the time
 /// of this writing.
 /// </summary>
 /// <param name="reader"></param>
 public void Read(ByteReader reader)
 {
     FullVersion = reader.ReadString(80);
     ByteOrder = reader.ReadByte();
     reader.Swap = le != ( ByteOrder == 0 );
     if (Version < 9) {
         ReadV8(reader);
     } else if (Version < 10) {
         ReadV9(reader);
     } else {
         ReadV10(reader);
     }
 }