AMFP Enhanced
C++ reference: the code this unofficial fork added
Loading...
Searching...
No Matches
HplCjkDecodeResult Struct Reference

Result of [hpl_cjk_decode_utf8]. More...

#include <hpl_cjk_text.h>

Public Attributes

uint32_t len
 UTF-16 code units written (or needed, with HPL_CJK_BUFFER_TOO_SMALL).
uint32_t invalid
 Malformed UTF-8 sequences replaced with U+FFFD.
uint32_t astral
 Code points above U+FFFF replaced with U+FFFD.

Detailed Description

Result of [hpl_cjk_decode_utf8].

Definition at line 40 of file hpl_cjk_text.h.

Member Data Documentation

◆ len

uint32_t HplCjkDecodeResult::len

UTF-16 code units written (or needed, with HPL_CJK_BUFFER_TOO_SMALL).

Definition at line 44 of file hpl_cjk_text.h.

◆ invalid

uint32_t HplCjkDecodeResult::invalid

Malformed UTF-8 sequences replaced with U+FFFD.

Definition at line 48 of file hpl_cjk_text.h.

◆ astral

uint32_t HplCjkDecodeResult::astral

Code points above U+FFFF replaced with U+FFFD.

Definition at line 52 of file hpl_cjk_text.h.


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