Replies: 1 comment
-
That needs refactoring. @George-Miao what do you think? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
my use case involves vectored I/O where the individual buffers are of different types. For example, one part of the data to be written might be a statically allocated array, another a Vec. Conceptually, I thought about representing this as a tuple (buffer1, buffer2, etc.) and use it with a vectored write operation. But I've run into the problem that for IoVectoredBuf all items must be of the same type.
Is there an existing pattern or recommended approach for performing vectored I/O with a heterogeneous collection of buffer types that I might have missed?
Would it be feasible to extend compio to support this use case?
Beta Was this translation helpful? Give feedback.
All reactions