/// Consume `bytes` from the peer (HF) and handle the command.
///
/// Returns the an optional request for more information if the SLC requires input
/// from the HFP component.
Consume `bytes` from the peer (HF) and handle the command.
Returns the an optional request for more information if the SLC requires input
from the HFP component.
Consume ` bytes ` from the peer ( HF ) and handle the command . Returns the an optional request for more information if the SLC requires input from the HFP component .
fn receive_data(&mut self, bytes: &mut Vec<u8>) {
        let procedure_requests = self.receive_data_internal(bytes);
        let mut slc_requests = procedure_requests
            .into_iter()
            .map(|req| self.procedure_request(req))
            .flatten()
            .collect();
        self.unprocessed_slc_requests.append(&mut slc_requests)
    }
fn receive_data ( & mut self , bytes : & mut Vec < u8 > ) { let procedure_requests = self . receive_data_internal ( bytes ) ; let mut slc_requests = procedure_requests . into_iter ( ) . map ( | req | self . procedure_request ( req ) ) . flatten ( ) . collect ( ) ; self . unprocessed_slc_requests . append ( & mut slc_requests ) }
Consume `bytes` from the peer (HF) and handle the command.
Consume ` bytes ` from the peer ( HF ) and handle the command .
&mut self
bytes
&mut Vec<u8>