Skip to main content

tl_read_string

Function tl_read_string 

Source
pub fn tl_read_string(data: &[u8]) -> Option<String>
Expand description

Like tl_read_bytes but decodes the payload as UTF-8 (lossily, so invalid sequences become replacement characters instead of failing).