Share via


StorageCrc64HashAlgorithm.GetCurrentHashCore(Span<Byte>) Method

Definition

When overridden in a derived class, writes the computed hash value to destination without modifying accumulated state.

protected override void GetCurrentHashCore (Span<byte> destination);
override this.GetCurrentHashCore : Span<byte> -> unit
Protected Overrides Sub GetCurrentHashCore (destination As Span(Of Byte))

Parameters

destination
Span<Byte>

The buffer that receives the computed hash value.

Remarks

Implementations of this method must write exactly HashLengthInBytes bytes to destination. Do not assume that the buffer was zero-initialized.

The NonCryptographicHashAlgorithm class validates the size of the buffer before calling this method, and slices the span down to be exactly HashLengthInBytes in length.

Applies to