lsm-tree-0.1.0.0: Log-structured merge-trees
Safe HaskellSafe-Inferred
LanguageGHC2021

XXH3

Synopsis

One shot

Incremental

data XXH3_State s Source #

Mutable XXH3 state.

xxh3_64bit_reset_withSeed :: XXH3_State s -> Word64 -> ST s () Source #

Reset XXH3_State with a seed.

xxh3_64bit_digest :: XXH3_State s -> ST s Word64 Source #

Return a hash value from a XXH3_State.

Doesn't mutate given state, so you can update, digest and update again.

xxh3_64bit_update_ba :: XXH3_State s -> ByteArray -> Int -> Int -> ST s () Source #

Update XXH3_State with (part of) ByteArray