pub fn clear(&mut self) {
        self.bytes.clear();
        self.ascii_len = 0;
        self.is_utf8 = true;
        self.debug_validate();
    }
/// Clears the entire content of the byte string.
Clears the entire content of the byte string.
Clears the entire content of the byte string .
pub fn clear(&mut self) {
        self.bytes.clear();
        self.ascii_len = 0;
        self.is_utf8 = true;
        self.debug_validate();
    }
pub fn clear ( & mut self ) { self . bytes . clear ( ) ; self . ascii_len = 0 ; self . is_utf8 = true ; self . debug_validate ( ) ; }
Clears the entire content of the byte string.
Clears the entire content of the byte string .
&mut self
&mut self