libxev icon indicating copy to clipboard operation
libxev copied to clipboard

std.ArrayList support for [Read/Write]Buffers

Open arxdeus opened this issue 2 years ago • 1 comments

arxdeus avatar Jan 13 '24 21:01 arxdeus

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.

robbielyman avatar Sep 17 '24 11:09 robbielyman