using System.IO; namespace dnlib.DotNet.Resources { /// /// Extension of for writing resource set elements /// public sealed class ResourceBinaryWriter : BinaryWriter { /// /// Format version of the resource set /// public int FormatVersion { get; internal set; } /// /// Specifies the target reader type of the resource set /// public ResourceReaderType ReaderType { get; internal set; } internal ResourceBinaryWriter(Stream stream) : base(stream) { } /// /// Writes a 7-bit encoded integer. /// /// The value to write public new void Write7BitEncodedInt(int value) => base.Write7BitEncodedInt(value); } }