[][src]Trait crc::crc16::Hasher16

pub trait Hasher16 {
    fn reset(&mut self);
fn write(&mut self, bytes: &[u8]);
fn sum16(&self) -> u16; }

Required methods

fn reset(&mut self)

Resets CRC calculation to initial value

fn write(&mut self, bytes: &[u8])

Updates CRC calculation with input byte array bytes

fn sum16(&self) -> u16

Returns checksum after being XOR'd with final_xor

Loading content...

Implementors

impl Hasher16 for Digest[src]

Loading content...