ADASerialization mixin
A mixin providing serialization functionality to classes.
- Mixin applications
-
- ADAAddress
- ADATransaction
- Anchor
- AssetName
- Assets
- AuxiliaryData
- AuxiliaryDataSet
- BootstrapWitness
- BootstrapWitnesses
- CardanoBlock
- Certificate
- Certificates
- CertificateType
- Committee
- Constitution
- COSECounterSignature
- COSEEncrypt
- COSEEncrypt0
- COSEHeaderMap
- COSEHeaders
- COSEKey
- COSELabel
- COSELabels
- COSEProtectedHeaderMap
- COSERecipient
- COSERecipients
- COSESignature
- COSESignatures
- COSESignedMessage
- COSESigStructure
- Costmdls
- CostModel
- Credential
- Credentials
- CredentialType
- DataOption
- DRep
- DRepType
- DRepVotingThresholds
- ExUnitPrices
- ExUnits
- FixedBytes
- GeneralTransactionMetadata
- GovernanceAction
- GovernanceActionId
- GovernanceActionType
- Header
- HeaderBody
- HeaderLeaderCert
- HeaderLeaderCertType
- Ipv4
- Ipv6
- Language
- Mint
- MintAssets
- MIR
- MIRPot
- MoveInstantaneousReward
- MultiAsset
- NativeScript
- NativeScripts
- NativeScriptType
- Nonce
- OperationalCert
- PlutusData
- PlutusDataType
- PlutusScript
- PlutusScripts
- PoolMetadata
- PoolParams
- PoolVotingThresholds
- ProposedProtocolParameterUpdates
- ProtocolParamUpdate
- ProtocolVersion
- Redeemer
- Redeemers
- RedeemerTag
- Relay
- RelayType
- RequiredSigners
- ScriptRef
- ScriptRefType
- TransactionBodies
- TransactionBody
- TransactionDataOptionType
- TransactionInput
- TransactionInputs
- TransactionMetadata
- TransactionMetadataType
- TransactionOutput
- TransactionOutputs
- TransactionUnspentOutput
- TransactionWitnessSet
- TransactionWitnessSets
- TreasuryWithdrawals
- UnitInterval
- Update
- Value
- Vkeywitness
- VkeyWitnesses
- Voter
- VoterType
- VoteType
- VotingProcedure
- VotingProcedures
- VotingProposal
- VotingProposals
- 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
cborBytesinto an object of typeT. Throws a MessageException with a descriptive message if deserialization fails.