public void Write(EndianWriter writer)
 {
     writer.Write(MetadataSize);
     writer.Write(FileSize);
     writer.Write((int)Generation);
     writer.Write(DataOffset);
     if (HasEndian(Generation))
     {
         writer.Write(SwapEndianess);
         writer.AlignStream();
     }
 }
Beispiel #2
0
 public void Write(EndianWriter writer)
 {
     writer.Write(MetadataSize);
     writer.Write(FileSize);
     writer.Write((int)Version);
     writer.Write(DataOffset);
     if (HasEndianess(Version))
     {
         writer.Write(Endianess);
         writer.AlignStream();
     }
 }