Skip to content

Is it possible for msgpack-lite to decode data as it is streamed in? #116

@o5k

Description

@o5k

Currently, the library seems to only decode data once an object is complete, as far as I can tell from benchmarking.

Am I missing something, or is this indeed how the decode stream operates? If so, is the ability to decode during transit planned? Otherwise, what might I be doing wrong? For my benchmark, I simply stream in all the bytes for a large object (115kB if as JSON) except for the last, then measure the time it takes between sending the last byte and receiving the data.

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