Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ReadOnlySequence<byte> support #138

Open
vitidev opened this issue Nov 10, 2019 · 2 comments
Open

ReadOnlySequence<byte> support #138

vitidev opened this issue Nov 10, 2019 · 2 comments
Labels
enhancement New feature or request

Comments

@vitidev
Copy link

vitidev commented Nov 10, 2019

System.IO.Pipelines return ReadOnlySequence<byte> and I have to copy the contents into byte[] array, which is overhead.

@Tornhoof Tornhoof added the enhancement New feature or request label Nov 11, 2019
@Tornhoof
Copy link
Owner

Yes, you need to drain the pipeline fully at the moment.
Support for this is probably part of async support as that's basically necessary for Pipeline support. Unfortunately async/await support is not easy.

@jmderuty
Copy link

jmderuty commented Dec 5, 2020

I would be very interested in a pipeline support too (we migrated our stream code to pipes and I was looking for a json library with pipe support)
It's something I'm ready to provide some help on btw, if you would be interested.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants