read

Function read 

Source
pub fn read(data: &mut [u8]) -> (usize, bool)
Expand description

Reads and removes data from the log buffer.

Returns the number of bytes read and whether data was lost.