cardano::MapSerializable struct

Virtual struct defining CBOR map serializability.

Derived classes

struct PostAlonzoTransactionOutput
PostAlonzoTransactionOutput.
struct TransactionBody
The body of a transaction.
struct TransactionWitnessSet
Structure to hold the witnesses for a transaction.
struct TransactionBody
The body of a transaction.
struct TransactionWitnessSet
Represent the witness set of a transaction.

Public functions

auto serialize() const →  std::vector<uint8_t>
Serialize the object as a CBOR byte vector.
auto serializer() const →  cppbor::Map -> auto pure virtual
Virtual method to define a serializing object.

Function documentation

std::vector<uint8_t> cardano::MapSerializable::serialize() const

Serialize the object as a CBOR byte vector.

Returns CBOR byte vector.

auto cardano::MapSerializable::serializer() const →  cppbor::Map pure virtual

Virtual method to define a serializing object.

Returns CBOR map object.