HikoGUI
A low latency retained GUI
|
#include <hikogui/char_maps/utf_8.hpp>
Public Types | |
using | char_type = char |
using | fallback_encoder_type = char_map<"cp-1252"> |
using | fallback_char_type = fallback_encoder_type::char_type |
Public Member Functions | |
constexpr std::endian | guess_endian (void const *ptr, size_t size, std::endian endian) const noexcept |
constexpr std::pair< char32_t, bool > | read_fallback (char const cu) const noexcept |
template<typename It , typename EndIt > | |
hi_no_inline constexpr std::pair< char32_t, bool > | read (It &it, EndIt last, char8_t first_cu) const noexcept |
template<typename It , typename EndIt > | |
constexpr std::pair< char32_t, bool > | read (It &it, EndIt last) const noexcept |
constexpr std::pair< uint8_t, bool > | size (char32_t code_point) const noexcept |
template<typename It > | |
constexpr void | write (char32_t code_point, It &dst) const noexcept |
Unicode UTF-8 encoding.