Return the numeric value of the UTF‐8 code point at codePoint.

Synopsis

Declared in <bdlde_utf8util.h>

static
int
codePointValue(char const* codePoint);

Description

Return the numeric value of the UTF‐8‐encoded code point beginning at the specified codePoint. The behavior is undefined unless codePoint is the address of the first byte of a valid UTF‐8 encoded character.

Return Value

numeric Unicode value of the encoded code point

Parameters

Name

Description

codePoint

address of the first byte of a valid UTF‐8 code point

Created with MrDocs