SPLToken2022HarvestWithheldTokensToMintLayout.fromBuffer constructor

SPLToken2022HarvestWithheldTokensToMintLayout.fromBuffer(
  1. List<int> bytes
)

Implementation

factory SPLToken2022HarvestWithheldTokensToMintLayout.fromBuffer(
    List<int> bytes) {
  ProgramLayout.decodeAndValidateStruct(
    layout: _layout,
    bytes: bytes,
    instruction: SPLTokenProgramInstruction.transferFeeExtension.insturction,
  );
  return SPLToken2022HarvestWithheldTokensToMintLayout();
}