pub fn handle_existing_data(&mut self) -> Option<PatternSearchType<T>> {
        if !self.data.is_empty() {
            let byte = self.data.remove(0);
            return Some(PatternSearchType::NonMatch(byte));
        }
        None
    }
// Handles remaining data of a partial match
Handles remaining data of a partial match
Handles remaining data of a partial match
pub fn handle_existing_data(&mut self) -> Option<PatternSearchType<T>> {
        if !self.data.is_empty() {
            let byte = self.data.remove(0);
            return Some(PatternSearchType::NonMatch(byte));
        }
        None
    }
pub fn handle_existing_data ( & mut self ) -> Option < PatternSearchType < T > > { if ! self . data . is_empty ( ) { let byte = self . data . remove ( 0 ) ; return Some ( PatternSearchType :: NonMatch ( byte ) ) ; } None }
Handles remaining data of a partial match
Handles remaining data of a partial match
&mut self