Modules

xxHash

moduleSource

Available on macOS, Linux, Windows, Wasm·since 0.31.0

#import "xxHash";

Bindings to the xxHash library: fast non-cryptographic 32- and 64-bit hashes of a buffer (native_XXH32, native_XXH64), or of data fed in pieces (XXH64_reset, XXH64_update, XXH64_digest).

Procedures#

Types#

XXH32_state_tstructforeignSource
:: struct
total_len_32: u32
large_len: u32
v1: u32
v2: u32
v3: u32
v4: u32
mem32: [4] u32
memsize: u32
reserved: u32
XXH64_state_tstructforeignSource
:: struct
total_len: u64
v1: u64
v2: u64
v3: u64
v4: u64
mem64: [4] u64
memsize: u32
reserved: [2] u32

Constants#