Skip to content

uv_stream_write byte count #68

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

Open
Aidan63 opened this issue Apr 5, 2024 · 0 comments
Open

uv_stream_write byte count #68

Aidan63 opened this issue Apr 5, 2024 · 0 comments

Comments

@Aidan63
Copy link
Owner

Aidan63 commented Apr 5, 2024

The IWritable write function callback says the number of bytes which has been written is returned, but uv_stream_write doesn't return this information. I've just been returning the number of bytes the user provided if the write succeeded, no idea if this is "correct" or not, but it seems to be the best that can be done.

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

No branches or pull requests

1 participant