fn remove_garbage(&mut self) {
		let read_buffer = self.read_buffer.as_mut();
		let garbage_len = find_header(&read_buffer[..self.read_len]);
		if garbage_len > 0 {
			debug!("skipping {} bytes of leading garbage.", garbage_len);
			trace!("skipped garbage: {:02X?}", &read_buffer[..garbage_len]);
		}
		self.consume_read_bytes(garbage_len);
	}
/// Remove leading garbage data from the read buffer.
Remove leading garbage data from the read buffer.
Remove leading garbage data from the read buffer .
fn remove_garbage(&mut self) {
		let read_buffer = self.read_buffer.as_mut();
		let garbage_len = find_header(&read_buffer[..self.read_len]);
		if garbage_len > 0 {
			debug!("skipping {} bytes of leading garbage.", garbage_len);
			trace!("skipped garbage: {:02X?}", &read_buffer[..garbage_len]);
		}
		self.consume_read_bytes(garbage_len);
	}
fn remove_garbage ( & mut self ) { let read_buffer = self . read_buffer . as_mut ( ) ; let garbage_len = find_header ( & read_buffer [ .. self . read_len ] ) ; if garbage_len > 0 { debug ! ( " " garbage_len ) ; trace ! ( " " read_buffer [ garbage_len ] ) ; } self . consume_read_bytes ( garbage_len ) ; }
Remove leading garbage data from the read buffer.
Remove leading garbage data from the read buffer .
&mut self
&mut self