<PackageReference Include="System.Reflection.Metadata" Version="11.0.0-rc.2.26504.105" />

System.Reflection.PortableExecutable.PEMemoryBlock

public struct PEMemoryBlock
Represents a block of memory in the Portable Executable (PE) image.
namespace System.Reflection.PortableExecutable { public readonly struct PEMemoryBlock { public unsafe byte* Pointer { get; } public int Length { get; } public BlobReader GetReader(); public BlobReader GetReader(int start, int length); public ImmutableArray<byte> GetContent(); public ImmutableArray<byte> GetContent(int start, int length); } }