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