pub fn read(&self, buf: &mut [u8]) -> usize {
        let mut offset = self.read_offset.lock();
        let len = DLOG.lock().read_at(*offset, buf);
        *offset += len;
        len
    }
/// Read a log, return the actual read size.
Read a log, return the actual read size.
Read a log return the actual read size .
pub fn read(&self, buf: &mut [u8]) -> usize {
        let mut offset = self.read_offset.lock();
        let len = DLOG.lock().read_at(*offset, buf);
        *offset += len;
        len
    }
pub fn read ( & self , buf : & mut [ u8 ] ) -> usize { let mut offset = self . read_offset . lock ( ) ; let len = DLOG . lock ( ) . read_at ( * offset , buf ) ; * offset += len ; len }
Read a log, return the actual read size.
Read a log return the actual read size .
&self
buf
&mut [u8]
&self
buf
&mut [u8]