serialize method

List<int> serialize()
inherited

Serializes this instance into CBOR, returning the resulting bytes.

Implementation

List<int> serialize() {
  final CborValue value = toCborValue();
  return cborEncode(value);
}