/// Write data to the digester.
Write data to the digester.
Write data to the digester .
pub fn write(&mut self, bytes: &[u8]) {
        for byte in bytes.iter() {
            if self.i % 16 == 0 && self.i != 0 {
                xor_u8x16(&mut self.state, &self.buf);
                P::permute(&mut self.state);
            }
            self.buf[self.i % 16] = *byte;
            self.i += 1;
        }
    }
pub fn write ( & mut self , bytes : & [ u8 ] ) { for byte in bytes . iter ( ) { if self . i % 16 == 0 && self . i != 0 { xor_u8x16 ( & mut self . state , & self . buf ) ; P :: permute ( & mut self . state ) ; } self . buf [ self . i % 16 ] = * byte ; self . i += 1 ; } }
Write data to the digester.
Write data to the digester .
&mut self
bytes
&[u8]