pub fn buffer_id(self: io_uring_cqe) !u16 self: io_uring_cqe7491
7492
7493
7494
7495
7496 pub fn buffer_id(self: io_uring_cqe) !u16 {
if (self.flags & IORING_CQE_F_BUFFER != IORING_CQE_F_BUFFER) {
return error.NoBufferSelected;
}
return @as(u16, @intCast(self.flags >> IORING_CQE_BUFFER_SHIFT));
}