[][src]Function ssb_legacy_msg_data::legacy_length

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

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.