Append an operand field's wire bytes to `buf`. Used by the [`impl_codec!`] macro to assemble instruction payloads. Each operand type writes itself in big-endian order at its natural width.
| 106 | /// Used by the [`impl_codec!`] macro to assemble instruction payloads. Each |
| 107 | /// operand type writes itself in big-endian order at its natural width. |
| 108 | trait EncodeOperand { |
| 109 | /// Append the wire bytes for `self` to `buf`. |
| 110 | fn encode_into(&self, buf: &mut Vec<u8>); |
| 111 | } |
| 112 | |
| 113 | /// Read an operand field's wire bytes from the start of `bytes`. |
| 114 | /// |
nothing calls this directly
no outgoing calls
no test coverage detected