BSON_VECTOR_PA..._VIEW_FROM_ITER(3)
π¦ libbson manual: BSON_VECTOR_PA..._VIEW_FROM_ITER(3) π¦
okay bestie, this is the libbson page for bson_vector_packed_bit_const_view_from_iter() π
It initializes a bson_vector_packed_bit_const_view_t from a bson_iter_t pointing to a valid Vector of packed_bit element type.
β¨ SYNOPSIS β¨
bool
bson_vector_packed_bit_const_view_from_iter (bson_vector_packed_bit_const_view_t *view_out,
const bson_iter_t *iter);
π PARAMETERS π
view_outβ abson_vector_packed_bit_const_view_tis written here on success. πiterβ a validbson_iter_t. β¨
πΈ DESCRIPTION πΈ
The iterator you pass in has to point at some kind of BSON item, and it gets checked for a valid Vector of packed_bit element type. On success, a bson_vector_packed_bit_const_view_t gets set to point at the exact same underlying bson_t buffer as the bson_iter_t you gave it. Iconic.
Heads up, bestie: the view is only valid until the containing document is destroyed or modified. Do not let it outlive that, fr fr. π
β RETURNS β
It returns true if the view was successfully initialized. π«Ά
π SEE ALSO π
bson_vector_packed_bit_view_from_iter()
π AUTHOR π
MongoDB, Inc
π COPYRIGHT π
2009-present, MongoDB, Inc.
mwah π this page is serving libbson 2.5.6, dated Oct 09, 20 (yes, the footer is truncating, no cap π), and that's the whole manual page. byeee π¦
π¦ 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