cardano::ArraySerializable struct

Virtual struct defining CBOR array serializability.

Derived classes

struct TransactionOutput
TransactionOutput.
struct Transaction
A transaction.
struct Certificate
A transaction certificate (base type).
struct Relay
A stake pool relay registration (base type).
struct StakeCredential
A stake credential.
struct Transaction
A transaction.
struct TransactionInput
A transaction input.
struct TransactionOutput
A transaction output.

Public functions

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

Function documentation

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

Serialize the object as a CBOR byte vector.

Returns CBOR byte vector.

auto cardano::ArraySerializable::serializer() const →  cppbor::Array pure virtual

Virtual method to define a serializing object.

Returns CBOR array object.