1BSON_WRITER_NEW(3)                  libbson                 BSON_WRITER_NEW(3)
2
3
4

NAME

6       bson_writer_new - bson_writer_new()
7

SYNOPSIS

9          bson_writer_t *
10          bson_writer_new (uint8_t **buf,
11                           size_t *buflen,
12                           size_t offset,
13                           bson_realloc_func realloc_func,
14                           void *realloc_func_ctx);
15

PARAMETERS

17buf: A uint8_t.
18
19buflen: A size_t.
20
21offset: A size_t.
22
23realloc_func: A bson_realloc_func.
24
25realloc_func_ctx: A bson_realloc_func.
26

DESCRIPTION

28       Creates  a new instance of bson_writer_t using the buffer, length, off‐
29       set, and _realloc()_ function supplied.
30
31       The caller is expected to clean up the structure  when  finished  using
32       bson_writer_destroy().
33

RETURNS

35       A newly allocated bson_writer_t.
36

AUTHOR

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