IncrementalHash.AppendData 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
AppendData(Byte[]) |
Appends the specified data to the data already processed in the hash or HMAC. |
AppendData(ReadOnlySpan<Byte>) |
Appends the specified data to the data already processed in the hash or Hash-based Message Authentication Code (HMAC). |
AppendData(Byte[], Int32, Int32) |
Appends the specified number of bytes from the specified data, starting at the specified offset, to the data already processed in the hash or Hash-based Message Authentication Code (HMAC). |
AppendData(Byte[])
- Source:
- IncrementalHash.cs
- Source:
- IncrementalHash.cs
- Source:
- IncrementalHash.cs
Appends the specified data to the data already processed in the hash or HMAC.
public:
void AppendData(cli::array <System::Byte> ^ data);
public void AppendData (byte[] data);
member this.AppendData : byte[] -> unit
Public Sub AppendData (data As Byte())
Parameters
- data
- Byte[]
The data to process.
Exceptions
data
is null
.
The IncrementalHash object has already been disposed.
Applies to
AppendData(ReadOnlySpan<Byte>)
- Source:
- IncrementalHash.cs
- Source:
- IncrementalHash.cs
- Source:
- IncrementalHash.cs
Appends the specified data to the data already processed in the hash or Hash-based Message Authentication Code (HMAC).
public:
void AppendData(ReadOnlySpan<System::Byte> data);
public void AppendData (ReadOnlySpan<byte> data);
member this.AppendData : ReadOnlySpan<byte> -> unit
Public Sub AppendData (data As ReadOnlySpan(Of Byte))
Parameters
- data
- ReadOnlySpan<Byte>
The data to process.
Exceptions
The IncrementalHash object has already been disposed.
Applies to
AppendData(Byte[], Int32, Int32)
- Source:
- IncrementalHash.cs
- Source:
- IncrementalHash.cs
- Source:
- IncrementalHash.cs
Appends the specified number of bytes from the specified data, starting at the specified offset, to the data already processed in the hash or Hash-based Message Authentication Code (HMAC).
public:
void AppendData(cli::array <System::Byte> ^ data, int offset, int count);
public void AppendData (byte[] data, int offset, int count);
member this.AppendData : byte[] * int * int -> unit
Public Sub AppendData (data As Byte(), offset As Integer, count As Integer)
Parameters
- data
- Byte[]
The data to process.
- offset
- Int32
The offset into the byte array from which to begin using data.
- count
- Int32
The number of bytes to use from data
.
Exceptions
data
is null
.
count
or offset
is negative.
-or-
count
is larger than the length of data
.
The sum of offset
and count
is larger than the data length.
The IncrementalHash object has already been disposed.
Applies to
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈