[21:23:29] <belsnickel> hello. using mongoc api, i'd like to stream a bson_t into a contiguous buffer. seems like bson_writer_t should be the thing, but if I already have a bson_t and want to get the whole thing into the byte stream, can it be done?
[21:25:05] <belsnickel> without having to iterate the bson myself and write it an element at a time
[21:27:57] <belsnickel> what i'm looking for is the inverse of bson_reader_read