Nebula
Loading...
Searching...
No Matches
Win32::Win32StringConverter Class Reference

#include <win32stringconverter.h>

Detailed Description

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

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 (const ushort *src, SizeT length=-1)
 convert from wide string to UTF-8 string
 

Member Function Documentation

◆ UTF8ToWide() [1/2]

SizeT Win32::Win32StringConverter::UTF8ToWide ( const char * src,
ushort * dst,
SizeT dstMaxBytes )
static

convert from UTF-8 raw string to wide string, return number of used bytes

◆ UTF8ToWide() [2/2]

SizeT Win32::Win32StringConverter::UTF8ToWide ( const Util::String & src,
ushort * dst,
SizeT dstMaxBytes )
static

convert from UTF-8 encoded string object to wide string, return number of used bytes

◆ WideToUTF8()

String Win32::Win32StringConverter::WideToUTF8 ( const ushort * src,
SizeT length = -1 )
static

convert from wide string to UTF-8 string


The documentation for this class was generated from the following files: