MetaplexAuctioneerAuthorizeLayout.fromBuffer constructor

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

Constructs the layout from raw bytes.

Implementation

factory MetaplexAuctioneerAuthorizeLayout.fromBuffer(List<int> data) {
  MetaplexAuctioneerProgramLayout.decodeAndValidateStruct(
      layout: _layout,
      bytes: data,
      instruction:
          MetaplexAuctioneerProgramInstruction.authorize.insturction);
  return const MetaplexAuctioneerAuthorizeLayout();
}