pub(crate) fn read_bool(data: &[u8], seek: &mut usize ) -> bool {
    if data.len() < *seek {panic!("End of file reached");}
    let b = data[*seek];
    *seek += 1;
    b != 0
}
/// Read a boolean and increase the cursor position by 1
/// * `data` - array of bytes
/// * `seek` - start position to read
/// * returns boolean value
Read a boolean and increase the cursor position by 1
`data` - array of bytes
`seek` - start position to read
returns boolean value
Read a boolean and increase the cursor position by 1 ` data ` - array of bytes ` seek ` - start position to read returns boolean value
pub(crate) fn read_bool(data: &[u8], seek: &mut usize ) -> bool {
    if data.len() < *seek {panic!("End of file reached");}
    let b = data[*seek];
    *seek += 1;
    b != 0
}
pub ( crate ) fn read_bool ( data : & [ u8 ] , seek : & mut usize ) -> bool { if data . len ( ) < * seek { panic ! ( " " ) ; } let b = data [ * seek ] ; * seek += 1 ; b != 0 }
Read a boolean and increase the cursor position by 1
 `data` - array of bytes
 `seek` - start position to read
 returns boolean value
Read a boolean and increase the cursor position by 1 ` data ` - array of bytes ` seek ` - start position to read returns boolean value
data
&[u8]
seek
&mut usize
data
&[u8]
seek
&mut usize