@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:11
• Private
#operations: Instruction
[]
packages/program/src/instruction-set.ts:9
▸ byteLength(): number
number
packages/program/src/instruction-set.ts:48
▸ concat(ops
): Instruction
[]
Name | Type |
---|---|
ops | Instruction [] |
Instruction
[]
packages/program/src/instruction-set.ts:23
▸ entries(): Instruction
[]
Instruction
[]
packages/program/src/instruction-set.ts:15
▸ extend(ops
): void
Name | Type |
---|---|
ops | Instruction [] |
void
packages/program/src/instruction-set.ts:27
▸ push(...args
): void
Name | Type |
---|---|
...args | Instruction [] |
void
packages/program/src/instruction-set.ts:19
▸ toBytes(): Uint8Array
Uint8Array
packages/program/src/instruction-set.ts:31
▸ toHex(): string
string
packages/program/src/instruction-set.ts:40
▸ toString(): string
string