init
Function parameters
Parameters
- seed:u32
Type definitions in this namespace
Types
Source
Implementation
pub fn init(seed: u32) XxHash32 {
return XxHash32{
.accumulator = Accumulator.init(seed),
.seed = seed,
.buf = undefined,
.buf_len = 0,
.byte_count = 0,
};
}