Table of Contents

Struct ChronicleHash

Namespace
Chronicler
Assembly
Chronicler.dll

Fixed-width deterministic hash value produced by a Chronicler record-hash pass.

public readonly struct ChronicleHash : IEquatable<ChronicleHash>
Implements
Inherited Members

Constructors

ChronicleHash(ulong, ulong)

Creates a new hash value from its two 64-bit lanes.

public ChronicleHash(ulong low, ulong high)

Parameters

low ulong
high ulong

Properties

High

Gets the high 64-bit lane.

public ulong High { get; }

Property Value

ulong

Low

Gets the low 64-bit lane.

public ulong Low { get; }

Property Value

ulong

Methods

Equals(ChronicleHash)

public bool Equals(ChronicleHash other)

Parameters

other ChronicleHash

Returns

bool

Equals(object?)

public override bool Equals(object? obj)

Parameters

obj object

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

ToString()

Returns a lowercase 32-character hexadecimal hash string as high lane followed by low lane.

public override string ToString()

Returns

string

Operators

operator ==(ChronicleHash, ChronicleHash)

Compares two hash values for equality.

public static bool operator ==(ChronicleHash left, ChronicleHash right)

Parameters

left ChronicleHash
right ChronicleHash

Returns

bool

operator !=(ChronicleHash, ChronicleHash)

Compares two hash values for inequality.

public static bool operator !=(ChronicleHash left, ChronicleHash right)

Parameters

left ChronicleHash
right ChronicleHash

Returns

bool