ec_ucs4_from_utf8
Last updated March 2020
Name
ec_ucs4_from_utf8 — Decodes a single code point from a utf8 buffer
Synopsis
#include "util.h"
| u_int32_t **ec_ucs4_from_utf8** (
| ptr, | |
| | lim)
; | |
Description
Note
This reference page was automatically generated from functions found in the header files in the development branch. The function described here may not exist in generally available versions of Momentum, and may change in behavior when it is generally available. Consult your vendor for definitive advice on the use of this function.
Decodes a single code point from a utf8 buffer.
- ptr
-
references the buffer
- lim
-
points at the end of the buffer.
ptr will be updated to point to the start of the next character in the input stream.
Returns 0 when the limit is reached, or if there is an invalid input.
Was this page helpful?