computeDictId
private fn
uint computeDictId(const(ubyte)[] dict)Compute the XXH32 hash of dictionary data to produce a dictionary ID.
LZ4 frames use the lower 32 bits of XXH32 as the dictionary identifier. This allows the decompressor to verify that the correct dictionary is being used.
Parameters
dict | Dictionary data. |
Returns
32-bit dictionary ID.