BSON_VECTOR_FL...VIEW_FROM_ITER(3)
π BSON_VECTOR_FL...VIEW_FROM_ITER(3) π
okay so bestie, welcome to the libbson manual page where we initialize a bson_vector_float32_view_t from a bson_iter_t pointing to a valid Vector of float32 element type. cute, focused, iconic. let's get into it β¨.
β¨ SYNOPSIS β¨
bool
bson_vector_float32_view_from_iter (bson_vector_float32_view_t *view_out,
bson_iter_t *iter);
π PARAMETERS π
view_outβ abson_vector_float32_view_tis written here on success. that's the output slot, bestie π«Άiterβ a validbson_iter_t. must be valid, no cap.
π DESCRIPTION π
The provided iterator β and yes, it must point to some kind of BSON item β gets checked for a valid Vector of float32 element type. vibe check first, always πβ¨.
On success, a bson_vector_float32_view_t is set to point to the same underlying bson_t buffer as the provided bson_iter_t. same buffer, not a copy, iykyk π
.
β οΈ lifetime warning, bestie: the view will only be valid until the containing document is destroyed or otherwise modified. do not get attached. periodt. π
π₯ RETURNS π₯
Returns true if the view was successfully initialized. that's the return, and it ate π.
π SEE ALSO π
bson_vector_float32_const_view_from_iter()
πΈ AUTHOR πΈ
MongoDB, Inc
π¦ COPYRIGHT π¦
2009-present, MongoDB, Inc.
that's the whole page, bestie π«Άπ β source/version: libbson 2.5.6, footer date: Oct 09, 202β¦ (the original footer is cut off mid-date, not me being messy π).
π¦ 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