public void Write(WritingContext SW) { SW.WriteFixedASCII(SectionName, 16); SW.WriteFixedASCII(SegmentName, 16); SW.WriteUInt(Addr, AddressSize); SW.WriteUInt(Size, AddressSize); SW.WriteAbsoluteOffsetAndDelayedData(SectionData, 1 << (byte)LogAlignment, AddressSize); SW.Write(LogAlignment); SW.Write(RelocationOffset); SW.Write(NumRelocations); SW.Write((UInt32)Flags); SW.Write(Reserved1); SW.Write(Reserved2); if (AddressSize == Bits.Num._64) SW.Write(Reserved3); }