/// Read a null-bookended string.
Read a null-bookended string.
Read a null - bookended string .
pub fn read_dntstr(&mut self) -> String {
        let mut string = String::new();
        assert_eq!(0, self.read_u8());
        let mut current = self.read_u8();
        while current != 0 {
            string.push(current as char);
            current = self.read_u8();
        }
        string
    }
pub fn read_dntstr ( & mut self ) -> String { let mut string = String :: new ( ) ; assert_eq ! ( 0 self read_u8 ( ) ) ; let mut current = self . read_u8 ( ) ; while current != 0 { string . push ( current as char ) ; current = self . read_u8 ( ) ; } string }
Read a null-bookended string.
Read a null - bookended string .
&mut self
<not_specific>