pub(crate) fn take_bytes(&mut self) -> Vec<u8> {
        self.inner
            .lock()
            .map(|mut write| write.split_off(0))
            .unwrap_or_default()
    }
/// Take the accumulated bytes from the buffer, leaving capacity unchanged.
Take the accumulated bytes from the buffer, leaving capacity unchanged.
Take the accumulated bytes from the buffer leaving capacity unchanged .
pub(crate) fn take_bytes(&mut self) -> Vec<u8> {
        self.inner
            .lock()
            .map(|mut write| write.split_off(0))
            .unwrap_or_default()
    }
pub ( crate ) fn take_bytes ( & mut self ) -> Vec < u8 > { self . inner . lock ( ) . map ( | mut write | write . split_off ( 0 ) ) . unwrap_or_default ( ) }
Take the accumulated bytes from the buffer, leaving capacity unchanged.
Take the accumulated bytes from the buffer leaving capacity unchanged .
&mut self
&mut self