(self)
| 62 | /// the arg for the real opcode itself |
| 63 | #[inline(always)] |
| 64 | pub fn split(self) -> (impl ExactSizeIterator<Item = OpArgByte>, OpArgByte) { |
| 65 | let mut it = self |
| 66 | .0 |
| 67 | .to_le_bytes() |
| 68 | .map(OpArgByte) |
| 69 | .into_iter() |
| 70 | .take(self.instr_size()); |
| 71 | let lo = it.next().unwrap(); |
| 72 | (it.rev(), lo) |
| 73 | } |
| 74 | } |
| 75 | |
| 76 | impl From<u32> for OpArg { |
no test coverage detected