<PackageReference Include="Microsoft.Packaging.Tools" Version="1.0.0-preview2-25401-01" />

System.Reflection.PortableExecutable.PEBinaryReader

namespace System.Reflection.PortableExecutable { internal struct PEBinaryReader { public int CurrentOffset { get; } public PEBinaryReader(Stream stream, int size); public void Seek(int offset); public byte[] ReadBytes(int count); public byte ReadByte(); public short ReadInt16(); public ushort ReadUInt16(); public int ReadInt32(); public uint ReadUInt32(); public ulong ReadUInt64(); public string ReadNullPaddedUTF8(int byteCount); } }