pub(crate) fn read_lyrics(&self, data: &[u8], seek: &mut usize) -> Lyrics {
        let mut lyrics = Lyrics{track_choice: read_int(data, seek).to_u8().unwrap(), ..Default::default()};
        for i in 0..5u8 {
            let starting_measure = read_int(data, seek).to_u16().unwrap();
            lyrics.lines.push((i, starting_measure, read_int_size_string(data, seek)));
        }
        lyrics
    }
/// Read lyrics.
///
/// First, read an `i32` that points to the track lyrics are bound to. Then it is followed by 5 lyric lines. Each one consists of
/// number of starting measure encoded in`i32` and`int-size-string` holding text of the lyric line.
Read lyrics.
First, read an `i32` that points to the track lyrics are bound to. Then it is followed by 5 lyric lines. Each one consists of
number of starting measure encoded in`i32` and`int-size-string` holding text of the lyric line.
Read lyrics . First read an ` i32 ` that points to the track lyrics are bound to . Then it is followed by 5 lyric lines . Each one consists of number of starting measure encoded in ` i32 ` and ` int - size - string ` holding text of the lyric line .
pub(crate) fn read_lyrics(&self, data: &[u8], seek: &mut usize) -> Lyrics {
        let mut lyrics = Lyrics{track_choice: read_int(data, seek).to_u8().unwrap(), ..Default::default()};
        for i in 0..5u8 {
            let starting_measure = read_int(data, seek).to_u16().unwrap();
            lyrics.lines.push((i, starting_measure, read_int_size_string(data, seek)));
        }
        lyrics
    }
pub ( crate ) fn read_lyrics ( & self , data : & [ u8 ] , seek : & mut usize ) -> Lyrics { let mut lyrics = Lyrics { track_choice : read_int ( data , seek ) . to_u8 ( ) . unwrap ( ) , .. Default :: default ( ) } ; for i in 0 .. 5u8 { let starting_measure = read_int ( data , seek ) . to_u16 ( ) . unwrap ( ) ; lyrics . lines . push ( ( i , starting_measure , read_int_size_string ( data , seek ) ) ) ; } lyrics }
Read lyrics.
Read lyrics .
&self
data
&[u8]
seek
&mut usize
&self
data
&[u8]
seek
&mut usize