Skip to main content

toASM

reddcoinjs-lib v7.0.1-rdd.1Docs


reddcoinjs-lib v7.0.1-rdd.1 / script / toASM

Function: toASM()

toASM(chunks): string

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: Uint8Array | (number | Uint8Array)[]

The chunks to convert into ASM.

Returns

string

The ASM string representation of the chunks.

Defined in

ts_src/script.ts:225