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

std.ArrayList support for [Read/Write]Buffers #83

Open
kitsuniru opened this issue Jan 13, 2024 · 1 comment
Open

std.ArrayList support for [Read/Write]Buffers #83

kitsuniru opened this issue Jan 13, 2024 · 1 comment

Comments

@kitsuniru
Copy link

No description provided.

@kitsuniru kitsuniru changed the title ArrayList support for [Read/Write]Buffers std.ArrayList support for [Read/Write]Buffers Jan 13, 2024
@robbielyman
Copy link
Contributor

sorry for the necro-bump, but i'd be curious about what isn't working with status quo libxev. for example to read into an ArrayList with libxev, just pass something like .{ .slice = list.unusedCapacitySlice() } to the call to read. to reuse the ArrayList when reading, make it a field of your userdata and update the list in the callback.

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