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
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
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
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈