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