SYNOPSIS

mongoc_stream_t *
mongoc_stream_buffered_new (mongoc_stream_t *base_stream,
                            size_t           buffer_size);

DESCRIPTION

The mongoc_stream_buffered_new() function shall create a new mongoc_stream(7).

base_stream

The stream to buffer

buffer_size

The size of the underlying buffer

RETURN VALUE

The mongoc_stream_buffered_new() function returns a new mongoc_stream(7).

ERRORS

No errors are defined.

SEE ALSO

AUTHORS

This page was written by MongoDB Inc.