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

Configurable buffer size #173

Open
MathiasYde opened this issue Mar 29, 2024 · 1 comment
Open

Configurable buffer size #173

MathiasYde opened this issue Mar 29, 2024 · 1 comment

Comments

@MathiasYde
Copy link

I'm making a program that needs to send 16K bytes over a COM port but my program freezes due to the default buffer size on Windows (4096 bytes).

I don't see an implementation in this crate to change the buffer size, is it even possible?

@DanielJoyce
Copy link

In general the internal OS level buffers are usually a fixed size of 4K and so can't be changed. You should instead be copying the data out into a program buffer.

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

No branches or pull requests

2 participants