Functions |
|
void | SetCP (UINT codepage, const char *string, size_t length=(size_t)-1) |
Reinitializes the instance with the
specified string and code page. |
|
void | SetACP (const char *string, size_t length=(size_t)-1) |
Reinitializes the instance with the
specified Active Code Page (ACP) string. |
|
void | SetUTF8 (const char *string, size_t length=(size_t)-1) |
Reinitializes the instance with the
specified UTF8 string. |
|
void | SetUTF16 (const wchar_t *string, size_t length=(size_t)-1) |
Reinitializes the instance with the
specified UTF16 string. |
void SetCP | ( | UINT | codepage, |
const char * | string, | ||
size_t | length =
(size_t)-1 |
||
) |
Reinitializes the instance with the specified string and code page.
codepage | - The encoding of the string passed in. |
string | - The new text to replace this string with |
length | - Length in characters of the string parameter. Use this only when you already know the size of the string getting passed in. Otherwise leave the parameter out, and by default the function will compute the length for you. |
void SetACP | ( | const char * | string, |
size_t | length =
(size_t)-1 |
||
) |
Reinitializes the instance with the specified Active Code Page (ACP) string.
string | - The new text to replace this string with |
length | - Length in characters of the string parameter. Use this only when you already know the size of the string getting passed in. Otherwise leave the parameter out, and by default the function will compute the length for you. |
void SetUTF8 | ( | const char * | string, |
size_t | length =
(size_t)-1 |
||
) |
Reinitializes the instance with the specified UTF8 string.
string | - The new text to replace this string with |
length | - Length in characters of the string parameter. Use this only when you already know the size of the string getting passed in. Otherwise leave the parameter out, and by default the function will compute the length for you. |
void SetUTF16 | ( | const wchar_t * | string, |
size_t | length =
(size_t)-1 |
||
) |
Reinitializes the instance with the specified UTF16 string.
string | - The new text to replace this string with |
length | - Length in characters of the string parameter. Use this only when you already know the size of the string getting passed in. Otherwise leave the parameter out, and by default the function will compute the length for you. |