MetaplexHydraUnstakeLayout.fromBuffer constructor

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

Implementation

factory MetaplexHydraUnstakeLayout.fromBuffer(List<int> data) {
  MetaplexHydraProgramLayout.decodeAndValidateStruct(
      layout: _layout,
      bytes: data,
      instruction:
          MetaplexHydraProgramInstruction.processUnstake.insturction);
  return MetaplexHydraUnstakeLayout();
}