1BSON_READER_NEW_FROM_HANDLE(3)      libbson     BSON_READER_NEW_FROM_HANDLE(3)
2
3
4

SYNOPSIS

6          bson_reader_t *
7          bson_reader_new_from_handle (void *handle,
8                                       bson_reader_read_func_t rf,
9                                       bson_reader_destroy_func_t df);
10

PARAMETERS

12handle: A user-provided pointer or NULL.
13
14rf: A bson_reader_read_func_t.
15
16df: A bson_reader_destroy_func_t.
17

DESCRIPTION

19       This  function  allows for a pluggable data stream for the reader. This
20       can be used to read from sockets, files,  memory,  or  other  arbitrary
21       sources.
22

RETURNS

24       A newly allocated bson_reader_t if successful; otherwise NULL.
25

AUTHOR

27       MongoDB, Inc
28
30       2017-present, MongoDB, Inc
31
32
33
34
351.25.1                           Nov 08, 2023   BSON_READER_NEW_FROM_HANDLE(3)
Impressum