PEMemoryBlock Struct

Definition

Represents a block of memory in the Portable Executable (PE) image.

C#
public struct PEMemoryBlock
C#
public readonly struct PEMemoryBlock
Inheritance
PEMemoryBlock

Properties

Length

Gets the length of the block.

Pointer

Gets a pointer to the first byte of the block.

Methods

GetContent()

Reads the contents of the entire block into an array.

GetContent(Int32, Int32)

Reads the contents of a part of the block into an array.

GetReader()

Creates a BlobReader for a blob spanning the entire block.

GetReader(Int32, Int32)

Creates a BlobReader for a blob spanning a part of the block.

Applies to

Product Versions
.NET Core 1.0, Core 1.1, Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8 (package-provided), 8, 9 (package-provided), 9, 10 (package-provided), 10
.NET Standard 2.0 (package-provided)
UWP 10.0