pub fn write_bytes(&mut self, bytes: &[u8]) -> Result<()> {
        self.to.write_all(bytes).context(WriteValueData {
            position: self.bytes_written,
        })?;
        self.bytes_written += bytes.len() as u64;
        Ok(())
    }
/// Write all bytes directly to the inner writer.
Write all bytes directly to the inner writer.
Write all bytes directly to the inner writer .
pub fn write_bytes(&mut self, bytes: &[u8]) -> Result<()> {
        self.to.write_all(bytes).context(WriteValueData {
            position: self.bytes_written,
        })?;
        self.bytes_written += bytes.len() as u64;
        Ok(())
    }
pub fn write_bytes ( & mut self , bytes : & [ u8 ] ) -> Result < ( ) > { self . to . write_all ( bytes ) . context ( WriteValueData { position : self . bytes_written , } ) ? ; self . bytes_written += bytes . len ( ) as u64 ; Ok ( ( ) ) }
Write all bytes directly to the inner writer.
Write all bytes directly to the inner writer .
&mut self
bytes
&[u8]
&mut self
bytes
&[u8]