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