Skip to main content

Crate icydb_utils

Crate icydb_utils 

Source

Structs§

Xxh3
XXH3 Streaming algorithm

Enums§

Case
Case
RngError
RngError

Traits§

Casing
Casing

Functions§

fill_bytes
Fill one caller-provided buffer using the shared RNG.
hash_u64
Return one deterministic u64 xxh3 digest for the provided bytes.
hash_u128
Return one deterministic u128 xxh3 digest for the provided bytes.
is_seeded
Return whether the shared RNG is currently seeded.
next_u8
Return one random u8 from the shared RNG.
next_u16
Return one random u16 from the shared RNG.
next_u32
Return one random u32 from the shared RNG.
next_u64
Return one random u64 from the shared RNG.
next_u128
Return one random u128 from the shared RNG.
random_bytes
Return one owned buffer of random bytes from the shared RNG.
seed_from
Seed the shared RNG from one 32-byte seed.
to_snake_case
Convert text into snake_case.