SystemCreateLayout.fromBuffer constructor
Implementation
factory SystemCreateLayout.fromBuffer(List<int> data) {
final decode = ProgramLayout.decodeAndValidateStruct(
layout: _layout,
bytes: data,
instruction: SystemProgramInstruction.create.insturction);
return SystemCreateLayout(
lamports: decode["lamports"],
space: decode["space"],
programId: decode["programId"]);
}