Skip to main content

read_desc_unicode

Function read_desc_unicode 

Source
fn read_desc_unicode(
    tag: &[u8],
    unicode_offset: usize,
) -> Result<Option<(u32, String)>, CmsError>
Expand description

Parse the Unicode section of a desc tag at unicode_offset (the byte offset right after the ASCII data). Returns (language_code, string), or Ok(None) if truncated or the Unicode length is zero.