Function toASM

  • Converts the given chunks into an ASM (Assembly) string representation. If the chunks parameter is a Buffer, it will be decompiled into a Stack before conversion.

    Parameters

    • chunks: Buffer | (number | Buffer)[]

      The chunks to convert into ASM.

    Returns string

    The ASM string representation of the chunks.