Lines Matching refs:Result
48 pub fn read_u8(&mut self) -> Result<u8, i32> { in read_u8()
57 pub fn read_u16(&mut self) -> Result<u16, i32> { in read_u16()
71 pub fn read_u32(&mut self) -> Result<u32, i32> { in read_u32()
85 pub fn read_u64(&mut self) -> Result<u64, i32> { in read_u64()
104 pub fn read_exact(&mut self, buf: &mut [u8]) -> Result<(), i32> { in read_exact() argument
116 pub fn read_u16_into(&mut self, buf: &mut [u16]) -> Result<(), i32> { in read_u16_into() argument
134 pub fn seek(&mut self, origin: SeekFrom) -> Result<usize, i32> { in seek()
160 pub fn write_u8(&mut self, value: u8) -> Result<u8, i32> { in write_u8()
172 pub fn write_u16(&mut self, value: u16) -> Result<u16, i32> { in write_u16()
186 pub fn write_u32(&mut self, value: u32) -> Result<u32, i32> { in write_u32()
200 pub fn write_u64(&mut self, value: u64) -> Result<u64, i32> { in write_u64()
219 pub fn write_exact(&mut self, buf: &[u8]) -> Result<(), i32> { in write_exact() argument