Пример #1
0
 public Section(Stream s)
 {
     Header = s.ReadStruct <SaveGameSectionHeader>();
     Data   = new byte[Header.Size];
     s.Read(Data, 0, (int)Header.Size);
 }
Пример #2
0
 public Section(Stream s)
 {
     Header = s.ReadStruct<SaveGameSectionHeader>();
     Data = new byte[Header.Size];
     s.Read(Data, 0, (int)Header.Size);
 }