MetaplexBubblegumCompressLayout.fromBuffer constructor

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

Implementation

factory MetaplexBubblegumCompressLayout.fromBuffer(List<int> data) {
  MetaplexBubblegumProgramLayout.decodeAndValidateStruct(
      layout: _layout,
      bytes: data,
      instruction: MetaplexBubblegumProgramInstruction.compress.insturction);
  return MetaplexBubblegumCompressLayout();
}