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