Table of Contents

Struct StableHash.Accumulator

Namespace
The.Caching
Assembly
Instagile.dll

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

value bool

Add(int)

public void Add(int value)

Parameters

value int

Add(long)

public void Add(long value)

Parameters

value long

Add(string?)

public void Add(string? value)

Parameters

value string

AddValue(object?)

Adds a query-constant value, dispatching over the domain described on ForValue(object?).

public void AddValue(object? value)

Parameters

value object

ToHashCode()

public readonly int ToHashCode()

Returns

int