cardano::TagSerializable struct

Virtual struct defining CBOR tagged item serializability.

Derived classes

struct Rational
Represent a rational number (numerator and denominator).

Public functions

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

Function documentation

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

Serialize the object as a CBOR byte vector.

Returns CBOR byte vector.

auto cardano::TagSerializable::serializer() const →  cppbor::SemanticTag pure virtual

Virtual method to define a serializing object.

Returns CBOR tagged item object.