Skip to content

Allow streaming of CBOR objects #134

Open
@jamiec7919

Description

@jamiec7919

Hi, not sure if this isn't already possible and I've missed it but I'd like to be able continuously perform a ReadAsync and return objects from an indefinite length stream (e.g. a network connection which is just continuously streaming objects)?

Digging in it appears that the main read functions require a fixed length stream, and the multiple reads only allow an array (and supported by my experiments which just hang!).

If it isn't possible currently do you think it is possible, maybe extending the ReadMultiple.. and is it something you'd like in the library? Some other libraries do seem to support this, suggesting CBOR is already framed sufficiently to allow this (so I don't have to add additional framing to the stream).

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