CBOR
CBOR copied to clipboard
Typed CBORObject.FromInt etc.
Currently to convert a primitive to CBOR, CBORObject.FromObject is used which has a lot of overloads. This gives a lack of safety, as overload resolution is affected by op_Implicit, and also has an obj overload which makes it extra unsafe.
Instead there should be added FromInt, FromInt64, FromChar, FromArray, FromGuid etc..