private void WriteLinkerSection(Section section, BinaryWriter writer) { var linkerSection = linker.Sections[(int)section.SectionKind]; writer.SetPosition(section.Offset); linker.WriteTo(writer.BaseStream, linkerSection); }
private void WriteLinkerSection(Section section, EndianAwareBinaryWriter writer) { var linkerSection = linker.Sections[(int)section.SectionKind]; writer.Position = section.Offset; linker.WriteTo(writer.BaseStream, linkerSection); }