nxt.digestion

Hash digestion of standard types.

TODO use:

static if (hasMember!(hasher, "putStaticArray")) { digest.putStaticArray((cast(ubyte*)&value)[0 .. value.sizeof]); } else { digest.put((cast(ubyte*)&value)[0 .. value.sizeof]); }

Members

Aliases

FNV64
alias FNV64 = FNV!(64, true)
Undocumented in source.

Functions

digestAny
void digestAny(Digest digest, T value)

Digest value into digest.

digestArray
void digestArray(Digest digest, T value)

Digest the array value.

hashOf2
hash_t hashOf2(T value)

Is true iff T is repesented as a memory address.

Meta