pub(crate) fn read_measure_headers(&mut self, data: &[u8], seek: &mut usize, measure_count: usize) {
        //println!("read_measure_headers()");
        let mut previous: Option<MeasureHeader> = None;
        for i in 1..measure_count + 1  {
            let r: (MeasureHeader, u8) = self.read_measure_header(data, seek, i, previous);
            previous = Some(r.0.clone());
            self.measure_headers.push(r.0); //TODO: use add_measure_header
        }
    }
/// Read measure headers. The *measures* are written one after another, their number have been specified previously.
/// * `measure_count`: number of measures to expect.
Read measure headers. The *measures* are written one after another, their number have been specified previously.
`measure_count`: number of measures to expect.
Read measure headers . The * measures * are written one after another their number have been specified previously . ` measure_count ` : number of measures to expect .
pub(crate) fn read_measure_headers(&mut self, data: &[u8], seek: &mut usize, measure_count: usize) {
        //println!("read_measure_headers()");
        let mut previous: Option<MeasureHeader> = None;
        for i in 1..measure_count + 1  {
            let r: (MeasureHeader, u8) = self.read_measure_header(data, seek, i, previous);
            previous = Some(r.0.clone());
            self.measure_headers.push(r.0); //TODO: use add_measure_header
        }
    }
pub ( crate ) fn read_measure_headers ( & mut self , data : & [ u8 ] , seek : & mut usize , measure_count : usize ) { //println!("read_measure_headers()"); let mut previous : Option < MeasureHeader > = None ; for i in 1 .. measure_count + 1 { let r : ( MeasureHeader , u8 ) = self . read_measure_header ( data , seek , i , previous ) ; previous = Some ( r . 0 . clone ( ) ) ; self . measure_headers . push ( r . 0 ) ; //TODO: use add_measure_header } }
Read measure headers.
Read measure headers .
&mut self
data
&[u8]
seek
&mut usize
measure_count
usize
&mut self
data
&[u8]
seek
&mut usize
measure_count
usize