Open sandboxFocus

Method AppendBufferHash

AppendBufferHash(StringBuilder, ReadOnlySpan<byte>)

Hashes a buffer using HashingAlgorithm and appends the result to a StringBuilder.

Declaration
protected virtual void AppendBufferHash(StringBuilder stringBuilder, ReadOnlySpan<byte> buffer)
Parameters
Type Name Description
StringBuilder stringBuilder

The StringBuilder to append the hash to.

ReadOnlySpan<byte> buffer

The buffer to hash.