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

#include <utf8character.h>

Static Public Member Functions

static uint8_t getNullSize ()
 
static uint8_t getBomSize ()
 

Detailed Description

The utf8character class provides static methods for evaluating and manipulating UTF-8 encoded characters.

Member Function Documentation

◆ getBomSize()

static uint8_t utf8character::getBomSize ( )
static

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

◆ getNullSize()

static uint8_t utf8character::getNullSize ( )
static

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