Scroll to navigation

MONGOC_GRIDFS_FILE_GET_LENGTH(3) libmongoc MONGOC_GRIDFS_FILE_GET_LENGTH(3)

SYNOPSIS

int64_t
mongoc_gridfs_file_get_length (mongoc_gridfs_file_t *file);


PARAMETERS

file: A mongoc_gridfs_file_t <>.

DESCRIPTION

Fetches the length of the gridfs file in bytes.

RETURNS

A 64-bit signed integer.

Author

MongoDB, Inc

Copyright

2009-present, MongoDB, Inc.

December 11, 2025 2.2.1