Streaming_BSON(3) None

READING FROM A BSON STREAM

bson_reader_t provides a convenient API to read sequential BSON documents from a file-descriptor or memory buffer. The bson_reader_read(3) function will read forward in the underlying stream and returna bson_t that can be inspected and iterated upon.

See bson_reader_new_from_fd(3) , bson_reader_new_from_file(3) , and bson_reader_new_from_data(3) for more information.

WRITING A SEQUENCE OF BSON DOCUMENTS

bson_writer_t provides a convenient API to write a sequence of BSON documents to a realloc(3)