pub(crate) fn read_int(data: &[u8], seek: &mut usize ) -> i32 {
    if data.len() < *seek + 4 {panic!("End of file reached");}
    let n = i32::from_le_bytes([data[*seek], data[*seek+1], data[*seek+2], data[*seek+3]]);
    *seek += 4;
    n
}
/// Read an integer and increase the cursor position by 4 (4 little-endian bytes)
/// * `data` - array of bytes
/// * `seek` - start position to read
/// * returns the integer value
Read an integer and increase the cursor position by 4 (4 little-endian bytes)
`data` - array of bytes
`seek` - start position to read
returns the integer value
Read an integer and increase the cursor position by 4 ( 4 little - endian bytes ) ` data ` - array of bytes ` seek ` - start position to read returns the integer value
pub(crate) fn read_int(data: &[u8], seek: &mut usize ) -> i32 {
    if data.len() < *seek + 4 {panic!("End of file reached");}
    let n = i32::from_le_bytes([data[*seek], data[*seek+1], data[*seek+2], data[*seek+3]]);
    *seek += 4;
    n
}
pub ( crate ) fn read_int ( data : & [ u8 ] , seek : & mut usize ) -> i32 { if data . len ( ) < * seek + 4 { panic ! ( " " ) ; } let n = i32 :: from_le_bytes ( [ data [ * seek ] , data [ * seek + 1 ] , data [ * seek + 2 ] , data [ * seek + 3 ] ] ) ; * seek += 4 ; n }
Read an integer and increase the cursor position by 4 (4 little-endian bytes)
 `data` - array of bytes
 `seek` - start position to read
 returns the integer value
Read an integer and increase the cursor position by 4 ( 4 little - endian bytes ) ` data ` - array of bytes ` seek ` - start position to read returns the integer value
data
&[u8]
seek
&mut usize
data
&[u8]
seek
&mut usize