Function fletcher64

Source
pub fn fletcher64(buf: &[u8], previous: Checksum) -> Checksum
Expand description

Generates a Fletcher64 checksum of |buf| seeded by |previous|.

All logfile blocks are covered by a fletcher64 checksum as the last 8 bytes in a block.

We also use this checksum for integrity validation of potentially out-of-order writes during Journal replay.