Struct image::png::hash::Adler32
[-] [+]
[src]
pub struct Adler32 { // some fields omitted }
An Implementation of the Adler-32 checksum
Methods
impl Adler32
[-]fn new() -> Adler32
Create a new hasher.
[-]fn update(&mut self, buf: &[u8])
Update the internal hasher with the bytes from buf
[-]fn checksum(&self) -> u32
Return the computed hash.
[-]fn reset(&mut self)
Reset this hasher to its initial state.