Class: InstructionSet
@fuel-ts/program.InstructionSet
A wrapper around fuel-asm to make dynamic instructions and convert to different formats
Constructors
constructor
• new InstructionSet(...args
): InstructionSet
Parameters
Name | Type |
---|---|
...args | Instruction [] |
Returns
Defined in
Properties
#operations
• Private
#operations: Instruction
[]
Defined in
Methods
byteLength
▸ byteLength(): number
Returns
number
Defined in
concat
▸ concat(ops
): Instruction
[]
Parameters
Name | Type |
---|---|
ops | Instruction [] |
Returns
Instruction
[]
Defined in
entries
▸ entries(): Instruction
[]
Returns
Instruction
[]
Defined in
extend
▸ extend(ops
): void
Parameters
Name | Type |
---|---|
ops | Instruction [] |
Returns
void
Defined in
push
▸ push(...args
): void
Parameters
Name | Type |
---|---|
...args | Instruction [] |
Returns
void
Defined in
toBytes
▸ toBytes(): Uint8Array
Returns
Uint8Array
Defined in
toHex
▸ toHex(): string
Returns
string
Defined in
toString
▸ toString(): string
Returns
string