(&self, buf: ArgMemoryBuffer, vm: &VirtualMachine)
| 1907 | |
| 1908 | #[pymethod] |
| 1909 | fn readinto(&self, buf: ArgMemoryBuffer, vm: &VirtualMachine) -> PyResult<Option<usize>> { |
| 1910 | let mut data = self.reader().lock(vm)?; |
| 1911 | let raw = data.check_init(vm)?; |
| 1912 | ensure_unclosed(raw, "readinto of closed file", vm)?; |
| 1913 | data.readinto_generic(buf.into(), false, vm) |
| 1914 | } |
| 1915 | |
| 1916 | #[pymethod] |
| 1917 | fn readinto1(&self, buf: ArgMemoryBuffer, vm: &VirtualMachine) -> PyResult<Option<usize>> { |
nothing calls this directly
no test coverage detected