Skip to content

Support RFC-8742 - Concise Binary Object Representation (CBOR) Sequences - in a performant way without catching exceptions #139

@ChristophLindemann

Description

@ChristophLindemann

It would be nice to support RFC-8742 (Concise Binary Object Representation (CBOR) Sequences) in a sane and performant way ,

instead of the naive and non-performant way, which was copy pasted from my workaround in #67 and dumped into the codebase (#104).

As I wrote in the original issue (#67):

I think it can be reasonable easy be supported in CborReader by using ReadOnlySequence / SequenceReader / PipeReader.

Another benefit would be, if you have very large CBOR objects, using something like the PipeReader would enable you to -not- read the complete CBOR stream into memory before decoding.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions