CompiledMessage constructor
CompiledMessage(
- ByteArray data
Implementation
factory CompiledMessage(ByteArray data) {
switch (TransactionVersion.fromByteArray(data)) {
case TransactionVersion.legacy:
return _decompileLegacy(data);
case TransactionVersion.v0:
return _decodeV0(data);
}
}