1BSON_JSON_READER_NEW(3)             libbson            BSON_JSON_READER_NEW(3)
2
3
4

NAME

6       bson_json_reader_new - bson_json_reader_new()
7

SYNOPSIS

9          bson_json_reader_t *
10          bson_json_reader_new (void *data,
11                                bson_json_reader_cb cb,
12                                bson_json_destroy_cb dcb,
13                                bool allow_multiple,
14                                size_t buf_size);
15

PARAMETERS

17data: A user-defined pointer.
18
19cb: A bson_json_reader_cb.
20
21dcb: A bson_json_destroy_cb.
22
23allow_multiple: Unused.
24
25buf_size: A size_t containing the requested internal buffer size.
26

DESCRIPTION

28       Creates  a  new bson_json_reader_t that can read from an arbitrary data
29       source in a streaming fashion.
30
31       The allow_multiple parameter is unused.
32

RETURNS

34       A  newly  allocated  bson_json_reader_t  that  should  be  freed   with
35       bson_json_reader_destroy().
36

AUTHOR

38       MongoDB, Inc
39
41       2017-present, MongoDB, Inc
42
43
44
45
461.23.1                           Oct 20, 2022          BSON_JSON_READER_NEW(3)
Impressum