MetaplexAuctionHouseAuctioneerCancelLayout.fromBuffer constructor
Constructs the layout from raw bytes.
Implementation
factory MetaplexAuctionHouseAuctioneerCancelLayout.fromBuffer(
List<int> data) {
final decode = MetaplexAuctionHouseProgramLayout.decodeAndValidateStruct(
layout: _layout,
bytes: data,
instruction: MetaplexAuctionHouseProgramInstruction
.auctioneerCancel.insturction);
return MetaplexAuctionHouseAuctioneerCancelLayout(
buyerPrice: decode["buyerPrice"], tokenSize: decode["tokenSize"]);
}