pub fn read_c_string(cursor: &mut Cursor<&[u8]>) -> Result<String, PduError>
optimized helper to read a C-Style string from a Cursor<&u8>