Function init [src]
Prototype
pub fn init(seed: u32) XxHash32
Parameters
seed: u32
Source
pub fn init(seed: u32) XxHash32 {
return XxHash32{
.accumulator = Accumulator.init(seed),
.seed = seed,
.buf = undefined,
.buf_len = 0,
.byte_count = 0,
};
}