BSON_READER_TELL(3)

πŸ’… BSON_READER_TELL(3) β€” the libbson manual page πŸ’…

okay bestie, welcome to the libbson glow-up of bson_reader_tell. this is literally the β€œwhere are we rn?” function for your reader, and she ate. ✨


✨ SYNOPSIS ✨

off_t
bson_reader_tell (bson_reader_t *reader);

πŸŽ€ PARAMETERS πŸŽ€

  • reader β€” A bson_reader_t. that’s the reader, bestie β€” the main character in this little story. 🫢

πŸ¦‹ DESCRIPTION πŸ¦‹

Tells the current position within the underlying stream. it’s giving cursor-location reveal, no cap. πŸ’…

🌸 RETURNS 🌸

-1 on failure, otherwise the offset within the underlying stream. so if it’s a flop you get -1; if it slays, you get the offset. periodt. πŸ’–

πŸ‘‘ AUTHOR πŸ‘‘

MongoDB, Inc

2009-present, MongoDB, Inc.


libbson 2.5.6 β€’ Oct 09, 2026 β€’ mwah πŸ’‹

πŸ“¦ where this page comes from