Skip to content

gardasar-code/GardasarCode.Base

Repository files navigation

build deploy NuGet Version NuGet Downloads GitHub License

GardasarCode.Base

CBOR

"Any" object can be serialized to and deserialized from CBOR format using the CBOR class.

var obj = new  Dictionary<string, object>
{
    { "key1", 1 },
    { "key2", "value2" },
    { "key3", new List<int> { 1, 2, 3 } }
};

CborBytes cbor = CBOR.Serialize(obj);
var obj2 = CBOR.Deserialize<Dictionary<string, object>>(cbor);

Being supplemented.

About

Extensions, syntactic sugar, generic classes

Topics

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Languages