Fnv1Const

template for creating FNV magic constants and endianness, depending on if 32bit (uint) or 64bit (ulong) are used.

Members

Aliases

DigestType
alias DigestType = T

FNV magic constants and endianness

toBigEnd
alias toBigEnd = ByteSwap.swap32
Undocumented in source.
toBigEnd
alias toBigEnd = ByteSwap.swap64
Undocumented in source.

Static variables

INIT
DigestType INIT;
Undocumented in source.
INIT
DigestType INIT;
Undocumented in source.
PRIME
DigestType PRIME;
Undocumented in source.
PRIME
DigestType PRIME;
Undocumented in source.

Parameters

T

Type of hash to use, should be uint or ulong, or any alias to them. Defaults to hash_t, which is a D alias to size_t.

Meta