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

Flush for read buffer #275

Open
jakoschiko opened this issue Sep 8, 2024 · 0 comments · May be fixed by #290
Open

Flush for read buffer #275

jakoschiko opened this issue Sep 8, 2024 · 0 comments · May be fixed by #290

Comments

@jakoschiko
Copy link
Collaborator

The current operation Stream::flush ensures that the write buffer is empty, but not the read buffer. Can we achieve this somehow? E.g. by passing a State into Stream::flush.

This might be useful when the stream is exposed. Then we the user can call flush and safely access the underlying stream.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

Successfully merging a pull request may close this issue.

1 participant