[][src]Function ssb_legacy_msg_data::to_weird_encoding

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

Notable traits for WeirdEncodingIterator<'a>

impl<'a> Iterator for WeirdEncodingIterator<'a> type Item = u8;

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.