|
Foxit PDF Conversion SDK
|
Public Member Functions | |
| CFX_UTF8Decoder (IFX_Allocator *pAllocator=0) | |
| A constructor. Set the decoder to initial. More... | |
| void | AppendChar (FX_DWORD ch) |
| Append characters to wide text buffer. More... | |
| void | Clear () |
| Clear the decoding status and set the output wide text buffer to be empty. More... | |
| void | ClearStatus () |
| Clear the decoding status. More... | |
| CFX_WideStringC | GetResult () const |
| Get the result. More... | |
| void | GetResult (CFX_WideStringL &result) const |
| Get the result. More... | |
| void | Input (FX_BYTE byte) |
| Input a byte. More... | |
The class represents a simple UTF-8 decoder.
|
inline |
A constructor. Set the decoder to initial.
| [in] | pAllocator | An allocator. Default value: NULL. |
| void CFX_UTF8Decoder::AppendChar | ( | FX_DWORD | ch | ) |
Append characters to wide text buffer.
| [in] | ch | The input character. |
| void CFX_UTF8Decoder::Clear | ( | ) |
Clear the decoding status and set the output wide text buffer to be empty.
|
inline |
Clear the decoding status.
|
inline |
Get the result.
|
inline |
Get the result.
| [out] | result | A wide string to receive the result. |
| void CFX_UTF8Decoder::Input | ( | FX_BYTE | byte | ) |
Input a byte.
| [in] | byte | The input byte. |