Пример #1
0
        private void WriteLinkerSection(Section section, BinaryWriter writer)
        {
            var linkerSection = linker.Sections[(int)section.SectionKind];

            writer.SetPosition(section.Offset);
            linker.WriteTo(writer.BaseStream, linkerSection);
        }
Пример #2
0
        private void WriteLinkerSection(Section section, EndianAwareBinaryWriter writer)
        {
            var linkerSection = linker.Sections[(int)section.SectionKind];

            writer.Position = section.Offset;
            linker.WriteTo(writer.BaseStream, linkerSection);
        }