struct
MapSerializableVirtual 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
-
void deserialize(std::
span<const uint8_t> bytes) - Deserialize CBOR byte vector.
- auto deserializer(const cppbor::Map& data) → void=0 virtual
- Virtual method to parse the CBOR structure.
-
auto serialize() const → std::
vector<uint8_t> - Serialize the object as a CBOR byte vector.
- auto serializer() const → cppbor::Map=0 virtual
- Virtual method to define a serializing object.
Function documentation
void cardano:: MapSerializable:: deserialize(std:: span<const uint8_t> bytes)
Deserialize CBOR byte vector.
Parameters | |
---|---|
bytes | CBOR byte vector. |
void=0 cardano:: MapSerializable:: deserializer(const cppbor::Map& data) virtual
Virtual method to parse the CBOR structure.
Parameters | |
---|---|
data | CBOR map object. |
std:: vector<uint8_t> cardano:: MapSerializable:: serialize() const
Serialize the object as a CBOR byte vector.
Returns | CBOR byte vector. |
---|
cppbor::Map=0 cardano:: MapSerializable:: serializer() const virtual
Virtual method to define a serializing object.
Returns | CBOR map object. |
---|