libdonut  2.3.2
Application framework for cross-platform game development in C++20
Public Attributes | List of all members
donut::unicode::EncodeUTF8FromCodePointResult Struct Reference

Result of the encodeUTF8FromCodePoint() function. More...

#include <donut/unicode.hpp>

Public Attributes

std::array< char8_t, 4 > codeUnits
 Array of UTF-8 code units that encode the given code point. More...
 
std::size_t size
 The length of the encoded code unit sequence stored in the codeUnits array. More...
 

Detailed Description

Result of the encodeUTF8FromCodePoint() function.

Member Data Documentation

◆ codeUnits

std::array<char8_t, 4> donut::unicode::EncodeUTF8FromCodePointResult::codeUnits

Array of UTF-8 code units that encode the given code point.

◆ size

std::size_t donut::unicode::EncodeUTF8FromCodePointResult::size

The length of the encoded code unit sequence stored in the codeUnits array.


The documentation for this struct was generated from the following file: