PEMemoryBlock.GetContent Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Vertu í samstarfi við okkur á GitHub
Heimildina fyrir þetta efni er að finna á GitHub, þar sem þú getur líka búið til og farið yfir vandamál og sameinað beiðnir. Frekari upplýsingar er að finna í framlagshandbók okkar.