Functions | |
MaxStringCastCP | ToCP (UINT codepage, size_t *length=NULL) const |
Returns a MaxStringCastCP which in turn enables casting to a char array encoded with a specific code page. More... | |
MaxStringCast< char > | ToACP (size_t *length=NULL) const |
Cast this object to a char array using Active Code Page encoding. More... | |
MaxStringCastUTF8 | ToUTF8 (size_t *length=NULL) const |
Cast this object to a UTF8 encoded string. More... | |
MaxStringCast< wchar_t > | ToUTF16 (size_t *length=NULL) const |
Cast this object to a UTF16 or UNICODE encoded string. More... | |
MaxStringCast< unsigned int > | ToUTF32 (size_t *length=NULL) const |
Cast this object to a UTF32 encoded string. More... | |
Returns a MaxStringCastCP which in turn enables casting to a char array encoded with a specific code page.
The char array held by the MaxStringCastCP instance is valid as long as the instance is valid.
codepage | - The code page to convert to |
length | [out] - If length is not null, the size of the resulting string is stored to the length pointer. |
Cast this object to a char array using Active Code Page encoding.
length | [out] - If length is not null, the size of the resulting string is stored to the length pointer. |
Cast this object to a UTF8 encoded string.
length | [out] - If length is not null, the size of the resulting string is stored to the length pointer. |
Cast this object to a UTF16 or UNICODE encoded string.
length | [out] - If length is not null, the size of the resulting string is stored to the length pointer. |
Cast this object to a UTF32 encoded string.
length | [out] - If length is not null, the size of the resulting string is stored to the length pointer. |