Shamelessly stolen from https://github.com/arc80/plywood/.
More...
#include <unicode.h>
|
enum | status : uint8_t { unsupported_encoding
, truncated
, invalid
, valid
} |
|
Shamelessly stolen from https://github.com/arc80/plywood/.
Definition at line 372 of file unicode.h.
◆ status
enum ghassanpl::string_ops::text_decode_result::status : uint8_t |
◆ byte_count
uint8_t ghassanpl::string_ops::text_decode_result::byte_count |
The number of bytes this codepoint takes up in the input string.
Definition at line 386 of file unicode.h.
◆ point
char32_t ghassanpl::string_ops::text_decode_result::point |
The decoded codepoint (or -1 if failed)
Definition at line 384 of file unicode.h.
◆ status
status ghassanpl::string_ops::text_decode_result::status |
The result of the decode.
Definition at line 382 of file unicode.h.