pub const unsafe fn encode_with_len(len: NopLength) -> EncodedX86_64InstructionExpand description
No operation with a given length.
§Notes
- The
encode_with_len(0)call returns an empty instruction (of length 0). - The
encode_with_len(1)call is equivalent toencode()call. Except it is slightly less efficient. - The
encode_with_len(n)call returns an instruction of lengthn.
§Safety
This function is safe to call. It is marked as unsafe for consistency with other encoders.