Function legacy_length

Source
pub fn legacy_length(s: &str) -> usize
Expand description

Compute the length of some data. Note that this takes time linear in the length of the data, so you might want to use a WeirdEncodingIterator for computing hash and length in one go.