fn omc_ogg_sound(input: &[u8]) -> IResult<&[u8], OmcOggSound> {
    do_parse!(input,
        sound_name: string_block!(32) >>
        ogg_data: length_bytes!(le_i32) >>
        (OmcOggSound {
            sound_name,
            ogg_data: ogg_data.to_owned(),
        })
    )
}
/// Returns a Vec containing raw ogg data
Returns a Vec containing raw ogg data
Returns a Vec containing raw ogg data
fn omc_ogg_sound(input: &[u8]) -> IResult<&[u8], OmcOggSound> {
    do_parse!(input,
        sound_name: string_block!(32) >>
        ogg_data: length_bytes!(le_i32) >>
        (OmcOggSound {
            sound_name,
            ogg_data: ogg_data.to_owned(),
        })
    )
}
fn omc_ogg_sound ( input : & [ u8 ] ) -> IResult < & [ u8 ] , OmcOggSound > { do_parse ! ( input sound_name string_block ( 32 ) ogg_data length_bytes ( le_i32 ) ( OmcOggSound { sound_name ogg_data ogg_data to_owned ( ) } ) ) }
Returns a Vec containing raw ogg data
Returns a Vec containing raw ogg data
input
&[u8]
input
&[u8]