bson_utf8_next_char man page

bson_utf8_next_char() — Advances within utf8 to the next UTF-8 character, which may be multiple bytes offset from utf8. A pointer to the next character is returned.

Synopsis

const char *
bson_utf8_next_char (const char *utf8);

Parameters

utf8
A UTF‐8 encoded string.

Description

Advances within utf8 to the next UTF‐8 character, which may be multiple bytes offset from utf8

It is invalid to call this function on a string whose current character is

Returns

A pointer to the beginning of the next character in the UTF‐8 encoded string.

Colophon

This page is part of libbson. Please report any bugs at https://jira.mongodb.org/browse/CDRIVER.

Info

2016‐09‐02 libbson