Skip to main content

text_of

Function text_of 

Source
pub fn text_of(bytes: &[u8], more: bool) -> (String, usize)
Expand description

bytes as text, and how many of them it covers: a character cut at the end (more of the log follows) is left for the next part, so following a log never garbles one; invalid bytes become U+FFFD.