serialize method

List<int> serialize()

Serializes the object to CBOR bytes.

Implementation

List<int> serialize() => toCbor().encode();