Skip to main content

read_str

Function read_str 

Source
pub fn read_str(buf: &[u8], pos: &mut usize) -> Option<String>
Expand description

Inverse of write_str; None on truncation or invalid UTF-8.