pub fn extend_bytes(&mut self, b: &[u8]) {
        if self.ascii_len == self.len() {
            self.ascii_len += compute_ascii_len(b);
        }
        self.bytes.extend_from_slice(b);
        self.is_utf8 = from_utf8(&self.bytes[self.ascii_len..]).is_ok();
    }
/// Extends some bytes to the end of this byte string.
Extends some bytes to the end of this byte string.
Extends some bytes to the end of this byte string .
pub fn extend_bytes(&mut self, b: &[u8]) {
        if self.ascii_len == self.len() {
            self.ascii_len += compute_ascii_len(b);
        }
        self.bytes.extend_from_slice(b);
        self.is_utf8 = from_utf8(&self.bytes[self.ascii_len..]).is_ok();
    }
pub fn extend_bytes ( & mut self , b : & [ u8 ] ) { if self . ascii_len == self . len ( ) { self . ascii_len += compute_ascii_len ( b ) ; } self . bytes . extend_from_slice ( b ) ; self . is_utf8 = from_utf8 ( & self . bytes [ self . ascii_len .. ] ) . is_ok ( ) ; }
Extends some bytes to the end of this byte string.
Extends some bytes to the end of this byte string .
&mut self
b
&[u8]
&mut self
b
&[u8]