Skip to main content

Module reader

Module reader 

Source

Functionsยง

read_desc_unicode ๐Ÿ”’
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.
s15_fixed16_number_to_double ๐Ÿ”’
s15_fixed16_number_to_float ๐Ÿ”’
Produces the nearest float to a with a maximum error of 1/1024 which happens for large values like 0x40000040.
uint8_number_to_float_fast ๐Ÿ”’
uint16_number_to_float ๐Ÿ”’
uint16_number_to_float_fast ๐Ÿ”’
utf16be_to_utf16 ๐Ÿ”’