Skip to content

[Feature]: Support for decoding unassigned simple values #60

@anweiss

Description

@anweiss

Is there an existing issue for this?

  • I have searched the existing issues

Description

When decoding CBOR data that contains unassigned simple values, as in those that aren't of false, true, null or undefined, an error is thrown:

h @ Header::Simple(..) => Err(h.expected("known simple value")),

A minimal repro was posted by @Anrock at anweiss/cddl#90 (comment).

It would be great to be able to capture these values so that CDDL tools can validate these values.

Acceptance Criteria

No response

Suggestions for a technical implementation

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    Status

    New

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions