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

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)

ditto

Meta