pub(crate) fn read_color(data: &[u8], seek: &mut usize) -> i32 {
    let r = read_byte(data, seek).to_i32().unwrap();
    let g = read_byte(data, seek).to_i32().unwrap();
    let b = read_byte(data, seek).to_i32().unwrap();
    *seek += 1;
    r * 65536 + g * 256 + b
}
/// Read a color. Colors are used by `Marker` and `Track`. They consist of 3 consecutive bytes and one blank byte.
Read a color. Colors are used by `Marker` and `Track`. They consist of 3 consecutive bytes and one blank byte.
Read a color . Colors are used by ` Marker ` and ` Track ` . They consist of 3 consecutive bytes and one blank byte .
pub(crate) fn read_color(data: &[u8], seek: &mut usize) -> i32 {
    let r = read_byte(data, seek).to_i32().unwrap();
    let g = read_byte(data, seek).to_i32().unwrap();
    let b = read_byte(data, seek).to_i32().unwrap();
    *seek += 1;
    r * 65536 + g * 256 + b
}
pub ( crate ) fn read_color ( data : & [ u8 ] , seek : & mut usize ) -> i32 { let r = read_byte ( data , seek ) . to_i32 ( ) . unwrap ( ) ; let g = read_byte ( data , seek ) . to_i32 ( ) . unwrap ( ) ; let b = read_byte ( data , seek ) . to_i32 ( ) . unwrap ( ) ; * seek += 1 ; r * 65536 + g * 256 + b }
Read a color.
Read a color .
data
&[u8]
seek
&mut usize
data
&[u8]
seek
&mut usize