bson_reader_tell()

Synopsis

off_t
bson_reader_tell (bson_reader_t *reader);

Parameters

Description

Tells the current position within the underlying stream.

Returns

-1 on failure, otherwise the offset within the underlying stream.