pub fn read_c_string(bytes: &[u8], offset: usize) -> StringExpand description
Reads a variable-length null-terminated string from a byte buffer.
Scans from offset to the first null byte (or end of buffer), then
decodes the preceding bytes as Windows-1252.