pub async fn write_slice<O>(output: &mut O, data: &[u8]) -> Result<usize, Error>where O: Write + Unpin,