IncrementalHash.AppendData Method

Definition

Overloads

AppendData(Byte[])

Append the entire contents of 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)

Append count bytes of data, starting at offset, to the data already processed in the hash or HMAC.

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