pub fn read_c_string<R: Read>(reader: &mut R, size: usize) -> Result<String>
Reads a C-style null-terminated string of known buffer size.
The buffer is size bytes, but the string ends at the first null byte.
size