BSON_VECTOR_INT8_CONST_VIEW_READ(3)

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

πŸŽ€ BSON_VECTOR_INT8_CONST_VIEW_READ(3) πŸŽ€

okay bestie, this is the libbson page for bson_vector_int8_const_view_read, and it's here to copy a contiguous block of elements from a bson_vector_int8_const_view_t into a C array of int8_t. ✨

it's giving β€œbulk read from a const vector view” with zero mystery, and honestly? obsessed. πŸ’…

🌸 SYNOPSIS 🌸

          bool
          bson_vector_int8_const_view_read (bson_vector_int8_const_view_t view,
                                            int8_t *values_out,
                                            size_t element_count,
                                            size_t vector_offset_elements);

πŸ¦‹ PARAMETERS πŸ¦‹

  • view β€” A valid bson_vector_int8_const_view_t. It has to be valid, bestie; that's the vibe check. πŸ’–
  • values_out β€” Location where the int8_t elements will be read to. This is where the output goes. 🎯
  • element_count β€” Number of elements to read. Count 'em and keep it cute. πŸ”’
  • vector_offset_elements β€” The vector index of the first element to read. That's your starting point. 🏁

πŸ’– DESCRIPTION πŸ’–

Elements are copied in bulk from the view to the provided output pointer. It's a bulk copy situation, and the operation is literally just copying from the view to the output pointer you provided. 🫢

✨ RETURNS ✨

If the element_count and vector_offset_elements parameters overflow the bounds of the Vector, it returns false without taking any other action. If the parameters are in range, this is guaranteed to succeed. On success, it returns true and reads element_count elements into *values_out. Periodt. πŸ’…

πŸ”— SEE ALSO πŸ”—

  • bson_vector_int8_view_read() β€” go peek at this one too, bestie. πŸ‘€

πŸ‘‘ AUTHOR πŸ‘‘

MongoDB, Inc

2009-present, MongoDB, Inc.

mwah πŸ’‹ β€” source/version: libbson 2.5.6; date on the footer: Oct 09, 20 (yes, the page really cuts it off like that, no cap). you're welcome, bestie 🫢

πŸ“¦ where this page comes from