table of contents
| BSON_VECTOR_PACKED_BIT_VIEW_LENGTH_BYTES(3) | libbson | BSON_VECTOR_PACKED_BIT_VIEW_LENGTH_BYTES(3) |
Return the number of packed bytes in a Vector referenced by a bson_vector_packed_bit_view_t.
SYNOPSIS¶
size_t bson_vector_packed_bit_view_length_bytes (bson_vector_packed_bit_view_t view);
PARAMETERS¶
- •
- view: A valid bson_vector_packed_bit_view_t.
DESCRIPTION¶
A byte count is calculated from the view's stored binary block length. If the element count isn't a multiple of 8, the final byte will include bits that do not belong to any element.
RETURNS¶
The number of bytes, as a size_t.
AUTHOR¶
MongoDB, Inc
COPYRIGHT¶
2009-present, MongoDB, Inc.
| October 8, 2025 | 2.1.2 |