Skip to main content

fletcher64_ptr

Function fletcher64_ptr 

Source
pub fn fletcher64_ptr(buf: PtrByteSlice<'_>, previous: Checksum) -> Checksum
Expand description

Generates a Fletcher64 checksum of |buf| (a pointer slice) seeded by |previous|. This is completely safe from Rust aliasing UB on allocator-managed memory.