Rudiments
Static Public Member Functions | List of all members
utf16character Class Reference

Static Public Member Functions

static uint16_t getNullSize ()
 
static uint16_t getBomSize ()
 

Detailed Description

The utf16character class provides static methods for evaluating and manipulating UTF-16 encoded characters.

Member Function Documentation

◆ getBomSize()

static uint16_t utf16character::getBomSize ( )
static

Returns the number of bytes in the UTF-16 byte-order mark.

◆ getNullSize()

static uint16_t utf16character::getNullSize ( )
static

Returns the number of bytes needed to NULL-terminate a string of UTF-16-encoded characters.