Pyrogenesis HEAD
Pyrogenesis, a RTS Engine
UTF8Codec Class Reference

Static Public Member Functions

static void Encode (UTF32 u, UTF8 *&dstPos)
 
static UTF32 Decode (const UTF8 *&srcPos, const UTF8 *const srcEnd, Status *err)
 

Static Private Member Functions

static size_t Size (UTF32 u)
 
static size_t SizeFromFirstByte (UTF8 firstByte)
 
static bool IsValid (const UTF8 *const src, size_t size, const UTF8 *const srcEnd)
 

Member Function Documentation

◆ Decode()

static UTF32 UTF8Codec::Decode ( const UTF8 *&  srcPos,
const UTF8 *const  srcEnd,
Status err 
)
inlinestatic

◆ Encode()

static void UTF8Codec::Encode ( UTF32  u,
UTF8 *&  dstPos 
)
inlinestatic

◆ IsValid()

static bool UTF8Codec::IsValid ( const UTF8 *const  src,
size_t  size,
const UTF8 *const  srcEnd 
)
inlinestaticprivate

◆ Size()

static size_t UTF8Codec::Size ( UTF32  u)
inlinestaticprivate

◆ SizeFromFirstByte()

static size_t UTF8Codec::SizeFromFirstByte ( UTF8  firstByte)
inlinestaticprivate

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