@fuel-ts/program .InstructionSet
A wrapper around fuel-asm to make dynamic instructions and convert to different formats
• new InstructionSet(...args
): InstructionSet
Name | Type |
---|---|
...args | Instruction [] |
packages/program/src/instruction-set.ts:10
• Private
#operations: Instruction
[]
packages/program/src/instruction-set.ts:8
▸ byteLength(): number
number
packages/program/src/instruction-set.ts:47
▸ concat(ops
): Instruction
[]
Name | Type |
---|---|
ops | Instruction [] |
Instruction
[]
packages/program/src/instruction-set.ts:22
▸ entries(): Instruction
[]
Instruction
[]
packages/program/src/instruction-set.ts:14
▸ extend(ops
): void
Name | Type |
---|---|
ops | Instruction [] |
void
packages/program/src/instruction-set.ts:26
▸ push(...args
): void
Name | Type |
---|---|
...args | Instruction [] |
void
packages/program/src/instruction-set.ts:18
▸ toBytes(): Uint8Array
Uint8Array
packages/program/src/instruction-set.ts:30
▸ toHex(): string
string
packages/program/src/instruction-set.ts:39
▸ toString(): string
string