SPLTokenFreezAccountLayout.fromBuffer constructor
Constructs an SPLTokenFreezAccountLayout instance from buffer.
Implementation
factory SPLTokenFreezAccountLayout.fromBuffer(List<int> bytes) {
ProgramLayout.decodeAndValidateStruct(
layout: _layout,
bytes: bytes,
instruction: SPLTokenProgramInstruction.freezeAccount.insturction);
return SPLTokenFreezAccountLayout();
}