# io_uring: replace the readv method with a read on a new ReadBuffer type · gitcafe/zig

[View on GitCafe](https://git.cafe/gitcafe/zig/commit/3c58d3e281fca421879fe1d2ae7943bd31dccc0e)

Repository: [gitcafe/zig](https://git.cafe/gitcafe/zig)

Visibility: public

Requested revision: 3c58d3e281fca421879fe1d2ae7943bd31dccc0e

Requested commit: 3c58d3e281fca421879fe1d2ae7943bd31dccc0e

Commit: 3c58d3e281fca421879fe1d2ae7943bd31dccc0e

Tree: 421c69a07e284a488a8d3ecaf29c9acc57c82a28

Author: Vincent Rischmann

Committer: Vincent Rischmann

## Message

```
io_uring: replace the readv method with a read on a new ReadBuffer type

readv() is essentially identical to read() except for the buffer type,
this simplifies the API for the caller at the cost of not clearly mapping to the liburing C API.

```

## Parents

- [acb8af468f496dadbc7550196d7ba05fb8efd586](https://git.cafe/gitcafe/zig/commit/acb8af468f496dadbc7550196d7ba05fb8efd586?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zig/tree/3c58d3e281fca421879fe1d2ae7943bd31dccc0e?format=markdown)
