public void Write(EndianWriter ew, uint magic) { ew.WriteFourCC(type); ew.WriteFourCC(parent); ew.WriteFourCC(grandparent); ew.Write(identifier); ew.Write((uint)(stringOffset + magic)); ew.Write((uint)(metaOffset + magic)); ew.Write(flags); ew.Write(reserved); }