pub const fn new_with_initial(poly: u64, initial: u64) -> Digest {
        Digest {
            table: make_table(poly, true),
            initial,
            value: initial,
            final_xor: 0u64,
            calc: CalcType::Compat,
        }
    }
/// Creates a new Digest from input polynomial and initial value.
///
/// # Example
///
/// ```rust
/// use crc::{crc64, Hasher64};
/// let mut digest = crc64::Digest::new_with_initial(crc64::ECMA, 0u64);
/// digest.write(b"123456789");
/// assert_eq!(digest.sum64(), 0x995dc9bbdf1939fa);
/// ```
Creates a new Digest from input polynomial and initial value.
Creates a new Digest from input polynomial and initial value .
pub const fn new_with_initial(poly: u64, initial: u64) -> Digest {
        Digest {
            table: make_table(poly, true),
            initial,
            value: initial,
            final_xor: 0u64,
            calc: CalcType::Compat,
        }
    }
pub const fn new_with_initial ( poly : u64 , initial : u64 ) -> Digest { Digest { table : make_table ( poly , true ) , initial , value : initial , final_xor : 0u64 , calc : CalcType :: Compat , } }
Creates a new Digest from input polynomial and initial value.
Creates a new Digest from input polynomial and initial value .
poly
u64
initial
u64
example
None