The Nebula Device 3: Win32::Win32StringConverter Class Reference

The Nebula Device 3

Win32::Win32StringConverter Class Reference

#include <win32stringconverter.h>


Detailed Description

Convert between UTF-8 and 16-bit wide strings.

(C) 2009 Radon Labs GmbH

Static Public Member Functions

static SizeT UTF8ToWide (const Util::String &src, ushort *dst, SizeT dstMaxBytes)
 convert from UTF-8 encoded string object to wide string, return number of used bytes
static SizeT UTF8ToWide (const char *src, ushort *dst, SizeT dstMaxBytes)
 convert from UTF-8 raw string to wide string, return number of used bytes
static Util::String WideToUTF8 (ushort *src)
 convert from wide string to UTF-8 string