convert method

  1. @override
List<int> convert(
  1. CborValue input
)
override

Converts input and returns the result of the conversion.

Implementation

@override
List<int> convert(CborValue input) {
  final b = Uint8Buffer();
  input.encode(EncodeSink.withBuffer(b));
  return b;
}