dahomey-technologies/Dahomey.Cbor

System.Formats.Cbor

Closed this issue · 2 comments

tibel commented

With .NET 5 there is a new player in the field of CBOR. At least for the low-level API (CborReader and CborWriter).

What are the future plans:

  • keep low-level API?
  • build converters on top of System.Formats.Cbor?

Also a comparison would be nice.

tibel commented

System.Formats.Cbor

  • CborWriter cannot operate on top of IBufferWriter<byte>
  • CborReader and CborWriter are classes

Hi @tibel

I am not planning to switch to System.Formats.Cbor because, as you mentionned, their reader & writer are classes and would trigger additional allocations