SYNOPSIS

#include <bson.h>

off_t
bson_reader_tell (bson_reader_t *reader);

DESCRIPTION

The bson_reader_tell() function shall return the current offset in the underlying file or buffer. This value should always be set to the boundry of a bson document or end-of-file.

RETURN VALUE

An off_t containing the file or buffer offset.

ERRORS

No errors are defined.

AUTHORS

This page was written by MongoDB, Inc.