isobmff- A parser and generator for the ISO-14496-12/14 base media file format

Safe HaskellNone



Boxfield indicating an ISO 639-2 alpha-3 language code.



data Language Source #

A Boxfield contains an ISO 639-2-T alpha-3 language code, which is encoded as a single bit followed by three 5 bit words, each representing the lower-case character from the language code subtracted by 0x60. If available, the code for terminoligy purposes should be used (T-code).

mkLanguage :: String -> Language Source #

Create a Language, throw a runtime error when bad characters were given. The characters must be in a - z (lower-case!), there must be exactly three characters.