pub unsafe extern "C" fn tsrb_peek(
rb: *mut tsrb_t,
dst: *mut u8,
n: size_t,
) -> c_int
Expand description
@brief Get bytes from ringbuffer, without removing them @param[in] rb Ringbuffer to operate on @param[out] dst buffer to write to @param[in] n max number of bytes to write to @p dst @return nr of bytes written to @p dst