Trait rdedup_cdc::RollingHash [] [src]

pub trait RollingHash {
    type Digest;
    fn roll_byte(&mut self, buf: u8);
fn digest(&self) -> Self::Digest;
fn reset(&mut self); fn roll(&mut self, buf: &[u8]) { ... } }

Rolling sum engine trait

Associated Types

Required Methods

Return current rolling sum digest

Resets the internal state

Provided Methods

Roll over a slice of bytes

Implementors