BSON_VECTOR_INT8_VIEW_FROM_ITER(3)

πŸ“¦
version 2.5.6 Β· 3 versions
, in epel 10

πŸ¦‹ bson_vector_int8_view_from_iter β€” libbson manual, section 3, bestie πŸ¦‹

okay so this libbson page is all about initializing a bson_vector_int8_view_t from a bson_iter_t that points to a valid Vector of int8 element type. it's giving β€œone job, and it does it cute” ✨

✨ SYNOPSIS ✨

bool
bson_vector_int8_view_from_iter (bson_vector_int8_view_t *view_out,
                                 bson_iter_t *iter);

πŸŽ€ PARAMETERS πŸŽ€

  • view_out β€” a bson_vector_int8_view_t is written here on success. πŸ’–
  • iter β€” a valid bson_iter_t. periodt.

🌸 DESCRIPTION 🌸

The provided iterator β€” and yes, it must point to some kind of BSON item β€” will be checked for a valid Vector of int8 element type. On success, a bson_vector_int8_view_t is set to point to the same underlying bson_t buffer as the provided bson_iter_t.

The view will only be valid until the containing document is destroyed or otherwise modified. so don't get attached and then act surprised, bestie 😭

πŸ”₯ RETURNS πŸ”₯

Returns true if the view was successfully initialized. slay. πŸ’…

πŸ”— SEE ALSO πŸ”—

  • bson_vector_int8_const_view_from_iter()

πŸ‘‘ AUTHOR πŸ‘‘

MongoDB, Inc

2009-present, MongoDB, Inc.


that's the whole page, bestie 🫢 β€” source/version: libbson 2.5.6, footer date: Oct 09, 202 exactly as printed, and we are so done πŸ’œ

πŸ“¦ where this page comes from