nxt.digestion

Hash digestion of standard types.

TODO: use:

static if (__traits(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 a memory address (either a class or a pointer). TODO: Replace with __traits(isAddress, T) when it's added.

Meta