streaming-bson (3) - Linux Manuals

streaming-bson: None

NAME

Streaming_BSON - 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