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
Properties
High
Gets the high 64-bit lane.
public ulong High { get; }
Property Value
Low
Gets the low 64-bit lane.
public ulong Low { get; }
Property Value
Methods
Equals(ChronicleHash)
public bool Equals(ChronicleHash other)
Parameters
otherChronicleHash
Returns
Equals(object?)
public override bool Equals(object? obj)
Parameters
objobject
Returns
GetHashCode()
public override int GetHashCode()
Returns
ToString()
Returns a lowercase 32-character hexadecimal hash string as high lane followed by low lane.
public override string ToString()
Returns
Operators
operator ==(ChronicleHash, ChronicleHash)
Compares two hash values for equality.
public static bool operator ==(ChronicleHash left, ChronicleHash right)
Parameters
leftChronicleHashrightChronicleHash
Returns
operator !=(ChronicleHash, ChronicleHash)
Compares two hash values for inequality.
public static bool operator !=(ChronicleHash left, ChronicleHash right)
Parameters
leftChronicleHashrightChronicleHash