Muokkaa

Jaa


PEMemoryBlock.GetContent Method

Definition

Overloads

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.

GetContent()

Source:
PEMemoryBlock.cs
Source:
PEMemoryBlock.cs
Source:
PEMemoryBlock.cs
Source:
PEMemoryBlock.cs

Reads the contents of the entire block into an array.

public:
 System::Collections::Immutable::ImmutableArray<System::Byte> GetContent();
public System.Collections.Immutable.ImmutableArray<byte> GetContent ();
member this.GetContent : unit -> System.Collections.Immutable.ImmutableArray<byte>
Public Function GetContent () As ImmutableArray(Of Byte)

Returns

An immutable byte array.

Applies to

GetContent(Int32, Int32)

Source:
PEMemoryBlock.cs
Source:
PEMemoryBlock.cs
Source:
PEMemoryBlock.cs
Source:
PEMemoryBlock.cs

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

public:
 System::Collections::Immutable::ImmutableArray<System::Byte> GetContent(int start, int length);
public System.Collections.Immutable.ImmutableArray<byte> GetContent (int start, int length);
member this.GetContent : int * int -> System.Collections.Immutable.ImmutableArray<byte>
Public Function GetContent (start As Integer, length As Integer) As ImmutableArray(Of Byte)

Parameters

start
Int32

The starting position in the block.

length
Int32

The number of bytes to read.

Returns

An immutable array of bytes.

Exceptions

The specified range is not contained within the block.

Applies to