public FATO(int count) { EntryCount = (ushort)count; Entries = new FATOEntry[EntryCount]; for (int i = 0; i < EntryCount; i++) { Entries[i] = new FATOEntry(); } }
public FATO(BinaryReader br) { Magic = br.ReadUInt32(); HeaderSize = br.ReadInt32(); EntryCount = br.ReadUInt16(); Padding = br.ReadInt16(); Entries = new FATOEntry[EntryCount]; for (int i = 0; i < EntryCount; i++) { Entries[i] = new FATOEntry(br); } }