Skip to main content

read_string

Function read_string 

Source
pub fn read_string(data: &[u8], pos: &mut usize) -> Result<String, String>
Expand description

Reads a length-prefixed UTF-8 string, advancing pos.