ADASerialization mixin
A mixin providing serialization functionality to classes.
- Mixin applications
-
- ADAAddress
- ADATransaction
- AssetName
- Assets
- AuxiliaryData
- BootstrapWitness
- Certificate
- CertificateType
- Costmdls
- CostModel
- DataOption
- ExUnitPrices
- ExUnits
- FixedBytes
- GeneralTransactionMetadata
- Header
- HeaderBody
- HeaderLeaderCert
- HeaderLeaderCertType
- Ipv4
- Ipv6
- Language
- Mint
- MintAssets
- MIR
- MIRPot
- MoveInstantaneousReward
- MultiAsset
- NativeScript
- NativeScriptType
- Nonce
- OperationalCert
- PlutusData
- PlutusDataType
- PlutusScript
- PoolMetadata
- PoolParams
- ProposedProtocolParameterUpdates
- ProtocolParamUpdate
- ProtocolVersion
- Redeemer
- RedeemerTag
- Relay
- RelayType
- ScriptRef
- ScriptRefType
- StakeCredType
- TransactionBody
- TransactionDataOptionType
- TransactionInput
- TransactionMetadata
- TransactionMetadataType
- TransactionOutput
- TransactionWitnessSet
- UnitInterval
- Update
- Value
- Vkeywitness
- VRFCert
- Withdrawals
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
serialize(
) → List< int> - Serializes the object to CBOR bytes.
-
serializeHex(
) → String - Serializes the object to hexadecimal string.
-
toCbor(
) → CborObject - Converts the object to a CBOR object.
-
toJson(
) → dynamic - Converts the object to a JSON representation.
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
desrialize<
T extends CborObject> (List< int> cborBytes) → T -
Deserialize the provided CBOR bytes
cborBytes
into an object of typeT
. Throws a MessageException with a descriptive message if deserialization fails.