Function disassembleBytecode

  • Disassemble authentication bytecode into a lossless ASM representation. (All push operations are represented with the same opcodes used in the bytecode, even when non-minimally encoded.)

    For the reverse, see assembleBytecode.

    Parameters

    • opcodes: {
          [opcode: number]: string;
      }

      a mapping of possible opcodes to their string representation

      • [opcode: number]: string
    • bytecode: Uint8Array

      the authentication bytecode to disassemble

    Returns string

Generated using TypeDoc