pub(crate) fn cdc_peek(out: &mut [u8]) -> usizeExpand description
Copy as much pending data as fits into out without consuming it.
Returns the number of bytes copied (0 when the ring is empty).
pub(crate) fn cdc_peek(out: &mut [u8]) -> usizeCopy as much pending data as fits into out without consuming it.
Returns the number of bytes copied (0 when the ring is empty).