BSON_READER_SET_READ_FUNC(3)

NAME
bson_reader_set_read_func()

SYNOPSIS
void
bson_reader_set_read_func (bson_reader_t          *reader,
                           bson_reader_read_func_t func);

PARAMETERS

.B reader
    A bson_reader_t .

.B func
    A bson_reader_read_func_t .

DESCRIPTION
Sets the function to read more data from the underlying stream in a custom bson_reader_t.

COLOPHON
This page is part of libbson. Please report any bugs at https://jira.mongodb.org/browse/CDRIVER.