DOKK / manpages / debian 12 / libbson-doc / bson_reader_reset.3.en
BSON_READER_RESET(3) libbson BSON_READER_RESET(3)

bson_reader_reset - bson_reader_reset()

void
bson_reader_reset (bson_reader_t *reader);


reader: A bson_reader_t.

Seeks to the beginning of the underlying buffer. Valid only for a reader created from a buffer with bson_reader_new_from_data(), not one created from a file, file descriptor, or handle.

MongoDB, Inc

2017-present, MongoDB, Inc

October 20, 2022 1.23.1