Skip to main content

Module slice

Module slice 

Source

Functionsยง

assert_slice_eq
Asserts that two byte sequences (packed little-endian into 64-bit words) are equal in their first len_bytes bytes. Bytes past len_bytes are ignored on both sides.
slice
Extracts a slice from an input byte array and returns it as a vector of packed 64-bit words.