utf8_character class
#include <bn_utf8_character.h>
Decodes a single UTF-8 character from a string.
See utf8_decode_char() function in https://github.com/devkitPro/libtonc/blob/master/src/tte/tte_
Constructors, destructors, conversion operators
- utf8_character(const char* text_ptr) constexpr
- Constructor.
- utf8_character(const char& text_ref) constexpr
- Constructor.
Public functions
Function documentation
bn:: utf8_character:: utf8_character(const char* text_ptr) constexpr
Constructor.
| Parameters | |
|---|---|
| text_ptr | Non null pointer to the string to decode. |
bn:: utf8_character:: utf8_character(const char& text_ref) constexpr
Constructor.
| Parameters | |
|---|---|
| text_ref | Reference to the string to decode. |