pub fn into_vec(mut self) -> Vec<u8> {
        if self.read > 0 {
            self.move_data_to_front();
        }
        self.buf.truncate(self.wrote);
        self.buf
    }
/// Converts `self` into a vector without clones or allocation. The resulting vector contains
/// all the readable bytes
Converts `self` into a vector without clones or allocation. The resulting vector contains
all the readable bytes
Converts ` self ` into a vector without clones or allocation . The resulting vector contains all the readable bytes
pub fn into_vec(mut self) -> Vec<u8> {
        if self.read > 0 {
            self.move_data_to_front();
        }
        self.buf.truncate(self.wrote);
        self.buf
    }
pub fn into_vec ( mut self ) -> Vec < u8 > { if self . read > 0 { self . move_data_to_front ( ) ; } self . buf . truncate ( self . wrote ) ; self . buf }
Converts `self` into a vector without clones or allocation.
Converts ` self ` into a vector without clones or allocation .
mut self
mut self