#include <cel_uniconv.h>
Public Types | |
enum | { AUTOSIZE = -1 } |
Static Public Member Functions | |
static size_t | bufferSize (const CharSrc *src, size_t length=AUTOSIZE) |
static void | convert (CharDest *CEL_RESTRICT buffer, const CharSrc *CEL_RESTRICT src, size_t length=AUTOSIZE) |
This struct provides the string conversion routine between CharSrc and CharDest. If you don't specify SrcTraits and/or DestTraits explicitly, it automatically uses UtfTraits < CharSrc > and/or UtfTraits < CharDest >.
anonymous enum |
|
inlinestatic |
This function calculates the buffer size (in entries) needed to convert the specified string.
src | A string to convert. |
length | The length of the string. |
|
inlinestatic |
This function converts the specified string.
buffer | Buffer to receive the result. |
src | A string to convert. |
length | The length of the string. |