1BSON_ITER_DUP_UTF8(3)               libbson              BSON_ITER_DUP_UTF8(3)
2
3
4

SYNOPSIS

6          char *
7          bson_iter_dup_utf8 (const bson_iter_t *iter, uint32_t *length);
8

PARAMETERS

10iter: A bson_iter_t.
11
12length:  An  optional  location  for  the length of the UTF-8 encoded
13         string.
14

DESCRIPTION

16       This function is similar  to  bson_iter_utf8()  except  that  it  calls
17       bson_strndup() on the result.
18

RETURNS

20       A newly allocated string that should be freed with bson_free().
21

AUTHOR

23       MongoDB, Inc
24
26       2017-present, MongoDB, Inc
27
28
29
30
311.25.1                           Nov 08, 2023            BSON_ITER_DUP_UTF8(3)
Impressum