Struct rdedup_cdc::bup::Bup [] [src]

pub struct Bup { /* fields omitted */ }

Methods

impl Bup
[src]

[src]

Create new Bup engine with default chunking settings

[src]

Create new Bup engine with custom chunking settings

chunk_bits is number of bits that need to match in the edge condition. CHUNK_BITS constant is the default.

[src]

Counts the number of low bits set in the rollsum, assuming the digest has the bottom CHUNK_BITS bits set to 1 (i.e. assuming a digest at a default bup chunk edge, as returned by find_chunk_edge). Be aware that there's a deliberate 'bug' in this function in order to match expected return values from other bupsplit implementations.

Trait Implementations

impl Default for Bup
[src]

[src]

Returns the "default value" for a type. Read more

impl RollingHash for Bup
[src]

[src]

[src]

Return current rolling sum digest

[src]

Resets the internal state

[src]

Roll over a slice of bytes

impl CDC for Bup
[src]

[src]

Find the end of the chunk. Read more