AddressLookupCreateLookupTableLayout.fromBuffer constructor
Constructs the layout from raw bytes.
Implementation
factory AddressLookupCreateLookupTableLayout.fromBuffer(List<int> data) {
final decode = ProgramLayout.decodeAndValidateStruct(
layout: _layout,
bytes: data,
instruction:
AddressLookupTableProgramInstruction.createLookupTable.insturction);
return AddressLookupCreateLookupTableLayout(
recentSlot: decode["recentSlot"], bumpSeed: decode["bumpSeed"]);
}