BSON_VECTOR_PA..._VIEW_FROM_ITER(3)
π BSON_VECTOR_PA..._VIEW_FROM_ITER(3) π
okay bestie, welcome to the libbson manual page for bson_vector_packed_bit_view_from_iter() π
this one is short but she's important, so let's get into it.
πΈ NAME πΈ
Initialize a bson_vector_packed_bit_view_t from a bson_iter_t pointing to a valid Vector of packed_bit element type. That's the whole vibe β¨
β¨ SYNOPSIS β¨
bool
bson_vector_packed_bit_view_from_iter (bson_vector_packed_bit_view_t *view_out,
bson_iter_t *iter);
π PARAMETERS π
view_outβ Abson_vector_packed_bit_view_tis written here on success. She gets the goods π«Άiterβ A validbson_iter_t. No funny business, just a valid iterator.
π¦ DESCRIPTION π¦
The provided iterator, which must point to some kind of BSON item, will be checked for a valid Vector of packed_bit element type. On success, a bson_vector_packed_bit_view_t is set to point to the same underlying bson_t buffer as the provided bson_iter_t. Same buffer energy, iykyk π¦
β οΈ real talk: the view will only be valid until the containing document is destroyed or otherwise modified. Do not keep it around after that, bestie β that's not the vibe check you want π
π RETURNS π
Returns true if the view was successfully initialized. periodt π
π AUTHOR π
MongoDB, Inc β iconic, fr fr π
π COPYRIGHT π
2009-present, MongoDB, Inc.
xoxo, your libbson bestie π β this page is from libbson version 2.5.6, dated Oct 09, 20 (yes, the footer is giving truncated π, but that's what it says).
π¦ 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