BSON_VECTOR_PA...W_LENGTH_BYTES(3)
π¦ BSON_VECTOR_PA...W_LENGTH_BYTES(3) π¦
okay bestie, this is a libbson moment π
The whole serve: it returns the number of packed bytes in a Vector referenced by a bson_vector_packed_bit_view_t. That's it β main character function energy. β¨
β¨ SYNOPSIS β¨
size_t
bson_vector_packed_bit_view_length_bytes (bson_vector_packed_bit_view_t view);
π PARAMETERS π
viewβ a validbson_vector_packed_bit_view_t. Valid is the vibe check here β
π 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. Not me warning you about stray bits π β it's literally in the byte math, so don't be surprised when the final byte has extra little roommates.
π RETURNS π
The number of bytes, as a size_t.
π AUTHOR π
MongoDB, Inc
πΈ COPYRIGHT πΈ
2009-present, MongoDB, Inc.
signing off with libbson 2.5.6, dated Oct 09, 202, and the page title BSON_VECTOR_PA...W_LENGTH_BYTES(3) β periodt π«Άβ¨
π¦ where this page comes from
- epel 10: libbson-devel 2.5.6-1.el10_3 Β· Apache-2.0 AND ISC AND MIT AND Zlib
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms