Archived Forum Post

Index of archived forum posts

Question:

Get the string length of getEncodedW's return value?

May 16 '16 at 11:03

Hi,

I may be missing something obvious. Sorry if so.

I would like to use the function getEncodedW from CkByteData. (With base64 encoding). const wchar_t getEncodedW(const wchar_t encoding);

However, the return wchar_t I am getting does not have a string terminator. How can I find out the size of the returned string?

Thanks.