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[]) |
Append the entire contents of |
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) |
Append |
AppendData(Byte[])
- Source:
- IncrementalHash.cs
- Source:
- IncrementalHash.cs
- Source:
- IncrementalHash.cs
Append the entire contents of 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 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
Append count
bytes of data
, starting at offset
,
to the data already processed in the hash or 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 in the array to use as data.
Exceptions
data
is null
.
count
is out of range. This parameter requires a non-negative number less than
the Length value of data
.
count
is greater than
data
.Length - offset
.
The object has already been disposed.
Applies to
Σχόλια
https://aka.ms/ContentUserFeedback.
Σύντομα διαθέσιμα: Καθ' όλη τη διάρκεια του 2024 θα καταργήσουμε σταδιακά τα ζητήματα GitHub ως μηχανισμό ανάδρασης για το περιεχόμενο και θα το αντικαταστήσουμε με ένα νέο σύστημα ανάδρασης. Για περισσότερες πληροφορίες, ανατρέξτε στο θέμα:Υποβολή και προβολή σχολίων για