SPLToken2022WithdrawWithheldTokensFromMintLayout.fromBuffer constructor

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

Implementation

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