BitcoinScript

open fun BitcoinScript()

Creates an empty script.

Return

A pointer to the script


open fun BitcoinScript(data: Array<Byte>)

Creates a script from a raw data representation.

Return

A pointer to the script

Parameters

data

The data buffer


open fun BitcoinScript(script: BitcoinScript)

Creates a script from a raw bytes and size.

Return

A pointer to the script * Creates a script by copying an existing script.

A pointer to the script

Parameters

bytes

The buffer

size

The size of the buffer

script

Non-null pointer to a script