MemoProgram.fromBytes constructor
MemoProgram.fromBytes({
- required List<
AccountMeta> keys, - required List<
int> instructionBytes, - SolAddress programId = MemoProgramConst.programId,
Implementation
factory MemoProgram.fromBytes({
required List<AccountMeta> keys,
required List<int> instructionBytes,
SolAddress programId = MemoProgramConst.programId,
}) {
return MemoProgram._(
layout: MemoLayout.fromBuffer(instructionBytes),
keys: keys,
programId: programId);
}