StakeDelegateLayout.fromBuffer constructor

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

Implementation

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