macro_rules! lread_string {
($reader:expr, $error:expr, $name:expr) => { ... };
}Expand description
This reads a u8 for the length and then calls read_exact to read the bytes then converts it to a string.
This is used in a loop to continue if an error occurs.