Kodi Documentation 23.0
Kodi is an open source media player and entertainment hub.
Loading...
Searching...
No Matches
Iso639.h File Reference
#include <cassert>
#include <climits>
#include <cstddef>
#include <cstdint>
#include <optional>
#include <string>
#include <string_view>

Classes

class  KODI::LANGUAGE::I18N::CIso639
 The correspondence between ISO 639 codes. More...
 

Namespaces

namespace  KODI
 
namespace  KODI::LANGUAGE
 
namespace  KODI::LANGUAGE::I18N
 

Functions

std::string KODI::LANGUAGE::I18N::LongCodeToString (uint32_t code)
 Converts a language code given as a 4-byte integer to its string representation.
 

Variables

constexpr std::size_t KODI::LANGUAGE::I18N::LONG_CODE_LENGTH {4}
 How many characters a code packed into a 32 bit integer can hold, one per byte.