BSON_VECTOR_PA..._VIEW_AS_CONST(3)

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

πŸ’… BSON_VECTOR_PA..._VIEW_AS_CONST(3) πŸ’…

okay bestie, this is a libbson page, and it's literally about how to Convert a bson_vector_packed_bit_view_t into a bson_vector_packed_bit_const_view_t. It's giving "tiny utility, main character energy" ✨


✨ SYNOPSIS ✨

          bson_vector_packed_bit_const_view_t
          bson_vector_packed_bit_view_as_const (bson_vector_packed_bit_view_t view);

🌸 PARAMETERS 🌸

  • view β€” A valid bson_vector_packed_bit_view_t. That's the whole guest list, bestie 🫢

πŸ¦‹ DESCRIPTION πŸ¦‹

This adds a const qualifier to the view without re-validating the underlying data. The way it just slaps const on there and does not re-validate the underlying data? iconic. No extra validation check happening here, ngl 😭


πŸŽ€ RETURNS πŸŽ€

Always returns a bson_vector_packed_bit_const_view_t. Always. No maybes, no cap πŸ’…


πŸ’œ AUTHOR πŸ’œ

MongoDB, Inc


2009-present, MongoDB, Inc.


xoxo, your Unix bestie 🫢 β€” source/version libbson 2.5.6, footer date Oct 09, 202BSON_VECTOR_PA..._VIEW_AS_CONST(3), MongoDB all the way πŸ’–

πŸ“¦ where this page comes from