1MONGOC_STREAM_BUFFERED_NEW(3)  MongoDB C Driver  MONGOC_STREAM_BUFFERED_NEW(3)
2
3
4

NAME

6       mongoc_stream_buffered_new - mongoc_stream_buffered_new()
7

SYNOPSIS

9          mongoc_stream_t *
10          mongoc_stream_buffered_new (mongoc_stream_t *base_stream, size_t buffer_size);
11

PARAMETERS

13       · base_stream: A mongoc_stream_t to buffer.
14
15       · buffer_size: A size_t containing the desired buffer size.
16
17       This  function shall create a new mongoc_stream_t that buffers bytes to
18       and from the underlying base_stream.
19
20       buffer_size will be used as the initial buffer size. It may  grow  past
21       this size.
22

RETURNS

24       A  newly allocated mongoc_stream_buffered_t on success, otherwise NULL.
25       This should be freed with mongoc_stream_destroy()  when  no  longer  in
26       use.
27

AUTHOR

29       MongoDB, Inc
30
32       2017-present, MongoDB, Inc
33
34
35
36
371.14.0                           Feb 22, 2019    MONGOC_STREAM_BUFFERED_NEW(3)
Impressum