[][src]Function ssb_json_msg_data::to_weird_encoding

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

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.