Function etherparse::checksum::u64_16bit_word::add_slice
source ยท pub fn add_slice(start_sum: u64, slice: &[u8]) -> u64
Expand description
Add the given slice to the checksum. In case the slice has a length that is not multiple of 2 the last byte will be padded with 0.