pub fn get(self: *BufferGroup, cqe: linux.io_uring_cqe) ![]u8 self: *BufferGroupcqe: linux.io_uring_cqe1711
1712
1713
1714
1715 pub fn get(self: *BufferGroup, cqe: linux.io_uring_cqe) ![]u8 {
const buffer_id = try cqe.buffer_id();
const used_len = @as(usize, @intCast(cqe.res));
return self.get_by_id(buffer_id)[0..used_len];
}