I'm on the look-out for any implementations of this new binary data representation.
Any .NET implementation of Concise Binary Object Representation(CBOR)?
3.7k views Asked by redcalx At
4
There are 4 answers
0
On
As an alternitive you can look at the Nuget-Package
PeterO.Cbor (source: https://github.com/peteroupc/CBOR).
looks (at the moment of writing) maintained and has a lot stars.
0
On
A list of several CBOR implementations can be found at http://cbor.io — this includes a C# implementation.
0
On
Dahomey.Cbor
High-performance CBOR serialization framework for .Net
Features
- Serialization/Deserialization from/to Streams, byte buffer
- Object Model
- Mapping to any .Net class
- Extensible Polymorphism support based on discriminator conventions
- Extensible Naming conventions
- Custom converters for not supported types
- .Net standard 2.0 support
You can try the .Net 5.0 Extension provided by MS
https://www.nuget.org/packages/System.Formats.Cbor/5.0.0
https://learn.microsoft.com/en-us/dotnet/api/system.formats.cbor
https://github.com/dotnet/performance/search?q=cbor
Here you have an sample to write and read:
Cheers