BSON_VECTOR_FL...VIEW_FROM_ITER(3)
okay so this is the libbson page for BSON_VECTOR_FL...VIEW_FROM_ITER(3) β yes the title is a whole keyboard smash, but she's iconic and we're gonna get through it together, bestie π«Άπ
πΈ NAME πΈ
Initialize a bson_vector_float32_const_view_t from a bson_iter_t pointing to a valid Vector of float32 element type.
β¨ SYNOPSIS β¨
bool
bson_vector_float32_const_view_from_iter (bson_vector_float32_const_view_t *view_out,
const bson_iter_t *iter);
π PARAMETERS π
view_outβ abson_vector_float32_const_view_tis written here on success. That's where the view lands, no cap.iterβ a validbson_iter_t. She has to be valid, bestie, that's the whole vibe.
π DESCRIPTION π
The provided iterator β which must point to some kind of BSON item β gets checked for a valid Vector of float32 element type. On success, a bson_vector_float32_const_view_t is set to point to the same underlying bson_t buffer as the provided bson_iter_t.
Heads up: the view will only be valid until the containing document is destroyed or modified. After that it is not valid anymore, periodt. Do not keep it around like a situationship, mkay? π
π¦ RETURNS π¦
Returns true if the view was successfully initialized. That's it, that's the return.
π SEE ALSO π
bson_vector_float32_view_from_iter()
π AUTHOR π
MongoDB, Inc
π COPYRIGHT π
2009-present, MongoDB, Inc.
that's the whole page, bestie β libbson 2.5.6, dated Oct 09, 2024, and it ate. mwah πβ¨
π¦ 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