Lines Matching refs:buf
106 fn read(&mut self, buf: &mut [u8]) -> std::io::Result<usize> { in read()
107 let mut length: u32 = buf.len() as _; in read()
111 buf.as_mut_ptr() as _, in read()
148 fn write(&mut self, buf: &[u8]) -> std::io::Result<usize> { in write()
149 let mut length: u32 = buf.len() as _; in write()
153 buf.as_ptr() as *const u8 as _, in write()
276 fn read(&mut self, buf: &mut [u8]) -> std::io::Result<usize> { in read()
277 let mut length: u32 = buf.len() as _; in read()
281 buf.as_mut_ptr() as _, in read()
318 fn write(&mut self, buf: &[u8]) -> std::io::Result<usize> { in write()
319 let mut length: u32 = buf.len() as _; in write()
323 buf.as_ptr() as *const u8 as _, in write()