Skip to content

Typed CBORObject.FromInt etc. #57

@charlesroddie

Description

@charlesroddie

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..

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions