Skip to main content

every_truncation

Function every_truncation 

Source
pub fn every_truncation(input: &[u8]) -> impl Iterator<Item = &[u8]>
Expand description

Produces truncations of input, including the empty and complete input.