pub fn clear(&mut self) {
        self.frames.clear();
        self.buffer.clear();
        self.frame_offset = 0;
        self.frame_count = 0;
        self.faulty = false;
    }
/// Resets the buffer in case of fatal error
Resets the buffer in case of fatal error
Resets the buffer in case of fatal error
pub fn clear(&mut self) {
        self.frames.clear();
        self.buffer.clear();
        self.frame_offset = 0;
        self.frame_count = 0;
        self.faulty = false;
    }
pub fn clear ( & mut self ) { self . frames . clear ( ) ; self . buffer . clear ( ) ; self . frame_offset = 0 ; self . frame_count = 0 ; self . faulty = false ; }
Resets the buffer in case of fatal error
Resets the buffer in case of fatal error
&mut self
&mut self