This static class provides encoding string operations from UTF8 to UTF16 or vice versa.
More...
#include <Utf16.hpp>
This static class provides encoding string operations from UTF8 to UTF16 or vice versa.
◆ Utf16() [1/3]
Arp::System::Commons::Encoding::Utf16::Utf16 |
( |
void |
| ) |
|
|
delete |
◆ Utf16() [2/3]
Arp::System::Commons::Encoding::Utf16::Utf16 |
( |
const Utf16 & |
arg | ) |
|
|
delete |
Deleted copy constructor.
◆ Utf16() [3/3]
Arp::System::Commons::Encoding::Utf16::Utf16 |
( |
Utf16 && |
arg | ) |
|
|
deletenoexcept |
Deleted move constructor.
◆ ~Utf16()
Arp::System::Commons::Encoding::Utf16::~Utf16 |
( |
void |
| ) |
|
|
delete |
◆ ConvertFromUtf8()
static EncodingResult Arp::System::Commons::Encoding::Utf16::ConvertFromUtf8 |
( |
const char8 * |
pInput, |
|
|
size_t |
inputLength, |
|
|
char16 * |
pResult, |
|
|
size_t |
resultCapacity, |
|
|
size_t & |
resultLength |
|
) |
| |
|
static |
This operation encodes an UTF8 string to an UTF16 string.
- Parameters
-
pInput | The UTF8 input string to encode. |
inputLength | The length of the input string. |
pResult | The resulting UTF16 string. |
resultCapacity | The capacity of the given result string pResult . |
resultLength | The length of the resulting UTF16 string after encoding. |
- Returns
- The encoding result.
◆ ConvertToUtf8()
static EncodingResult Arp::System::Commons::Encoding::Utf16::ConvertToUtf8 |
( |
const char16 * |
pInput, |
|
|
size_t |
inputLength, |
|
|
char8 * |
pResult, |
|
|
size_t |
resultCapacity, |
|
|
size_t & |
resultLength |
|
) |
| |
|
static |
This operation encodes an UTF16 string to an UTF8 string.
- Parameters
-
pInput | The UTF16 input string to encode. |
inputLength | The length of the input string. |
pResult | The resulting UTF8 string. |
resultCapacity | The capacity of the given result string pResult . |
resultLength | The length of the resulting UTF8 string after encoding. |
- Returns
- The encoding result.
◆ operator=() [1/2]
Utf16& Arp::System::Commons::Encoding::Utf16::operator= |
( |
const Utf16 & |
arg | ) |
|
|
delete |
Deleted copy-assignment operator.
◆ operator=() [2/2]
Utf16& Arp::System::Commons::Encoding::Utf16::operator= |
( |
Utf16 && |
arg | ) |
|
|
deletenoexcept |
Deleted move-assignment operator.
The documentation for this class was generated from the following file: