AddressLookupCloseLookupTableLayout.fromBuffer constructor

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

Constructs the layout from raw bytes.

Implementation

factory AddressLookupCloseLookupTableLayout.fromBuffer(List<int> data) {
  ProgramLayout.decodeAndValidateStruct(
      layout: _layout,
      bytes: data,
      instruction:
          AddressLookupTableProgramInstruction.closeLookupTable.insturction);
  return const AddressLookupCloseLookupTableLayout();
}