StakeMergeLayout.fromBuffer constructor

StakeMergeLayout.fromBuffer(
  1. List<int> data
)

Implementation

factory StakeMergeLayout.fromBuffer(List<int> data) {
  ProgramLayout.decodeAndValidateStruct(
      layout: _layout,
      bytes: data,
      instruction: StakeProgramInstruction.merge.insturction);
  return StakeMergeLayout();
}