pub unsafe extern "C" fn queue_view(
s: *mut queue_state_t,
buf: *mut u8,
len: c_int,
) -> c_intExpand description
Copy bytes from a queue. This is similar to queue_read, but the data remains in the queue. \brief Copy bytes from a queue. \param s The queue context. \param buf The buffer into which the bytes will be read. \param len The length of the buffer. \return the number of bytes returned.