AddressExtendLookupTableLayout.fromBuffer constructor
Constructs the layout from raw bytes.
Implementation
factory AddressExtendLookupTableLayout.fromBuffer(List<int> data) {
final decode = ProgramLayout.decodeAndValidateStruct(
layout: _layout,
bytes: data,
instruction:
AddressLookupTableProgramInstruction.extendLookupTable.insturction);
return AddressExtendLookupTableLayout(
addresses: (decode["addresses"] as List).cast<SolAddress>());
}