Function to_weird_encoding

Source
pub fn to_weird_encoding<'a>(s: &'a str) -> WeirdEncodingIterator<'a> 
Expand description

Create an owned representation of the weird encoding used for hash computation of legacy ssb messages. The number of bytes yielded by this iterator coincides with the length of the data.