Struct StableHash.Accumulator
A stable, streaming counterpart to HashCode: Marvin32 block rounds with a fixed seed, so the result does not vary per process. The default value is a valid empty accumulator.
public struct StableHash.Accumulator
- Inherited Members
Methods
Add(bool)
public void Add(bool value)
Parameters
valuebool
Add(int)
public void Add(int value)
Parameters
valueint
Add(long)
public void Add(long value)
Parameters
valuelong
Add(string?)
public void Add(string? value)
Parameters
valuestring
AddValue(object?)
Adds a query-constant value, dispatching over the domain described on ForValue(object?).
public void AddValue(object? value)
Parameters
valueobject
ToHashCode()
public readonly int ToHashCode()