Method Disassemble
Disassemble(ReadOnlySpan<byte>, ulong, int)
Disassembles an instruction
public (LazyEncodedString Disassembly, nuint InstructionByteCount) Disassemble(ReadOnlySpan<byte> instruction, ulong pc, int stringBufferSize = 1024)
Parameters
instructionReadOnlySpan<byte>Start of instruction stream
pculongProgram counter address to assume for the instruction disassembly
stringBufferSizeintSize of string buffer to use for the disassembly (default=1024)
Returns
- (LazyEncodedString Disassembly, nuint InstructionByteCount)
Disassembly string and count of bytes in the instruction as a tuple