(
fmt: IntoStructFormatBytes,
buffer: ArgBytesLike,
vm: &VirtualMachine,
)
| 217 | |
| 218 | #[pyfunction] |
| 219 | fn iter_unpack( |
| 220 | fmt: IntoStructFormatBytes, |
| 221 | buffer: ArgBytesLike, |
| 222 | vm: &VirtualMachine, |
| 223 | ) -> PyResult<UnpackIterator> { |
| 224 | let format_spec = fmt.format_spec(vm)?; |
| 225 | UnpackIterator::with_buffer(vm, format_spec, buffer) |
| 226 | } |
| 227 | |
| 228 | #[pyfunction] |
| 229 | fn calcsize(fmt: IntoStructFormatBytes, vm: &VirtualMachine) -> PyResult<usize> { |
nothing calls this directly
no test coverage detected