Struct fletcher::Fletcher[][src]

pub struct Fletcher<T> where
    T: FletcherAccumulator
{ /* fields omitted */ }
Expand description

Type to hold the state for calculating a fletcher checksum.

This is useful if you want to calculate the checksum over several small chunks of data. If you have an entire block of data the functions calc_fletcher16, calc_fletcher32, calc_fletcher64 simplify the process.

Implementations

Construct a new checksum object using the default initial value

Construct a new checksum object with a specific set of initial values

Updates the checksum with the given input data

Returns the current checksum value

Trait Implementations

Returns the “default value” for a type. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.