bson_vector_packed_bit_const_view_length

Return the number of elements in a Vector referenced by a bson_vector_packed_bit_const_view_t <>​.

Synopsis

size_t
bson_vector_packed_bit_const_view_length (bson_vector_packed_bit_const_view_t view);

Parameters

Description

An element count is calculated from information stored inside the bson_vector_packed_bit_const_view_t value.

Returns

The number of elements, as a size_t​.

See also:

bson_vector_packed_bit_view_length() <>

Author

MongoDB, Inc

Info

Oct 09, 2026 2.5.6 libbson