Scroll to navigation

BSON_VECTOR_PACKED_BIT_CONST_VIEW_LENGTH(3) libbson BSON_VECTOR_PACKED_BIT_CONST_VIEW_LENGTH(3)

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

view: A valid bson_vector_packed_bit_const_view_t.

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

COPYRIGHT

2009-present, MongoDB, Inc.

August 14, 2025 2.1.0