awe_string_to_wide

Converts a string to a wide string by copying to the destination buffer.

@param str The source string instance

@param dest The destination buffer to copy to.

@param len The size of the destination buffer.

@return Returns the full size of the string-- you can use this for pre-allocation purposes: call this method once with a NULL destination and 0 length to get the size to allocate your destination buffer, and then call it again to actually convert the string.

version(Windows)
int
awe_string_to_wide
(
const(awe_string)* str
,
wchar_t* dest
,
size_t len
)

Meta