bson_array_builder_append_vector_float32_elements()¶
Synopsis¶
bool
bson_array_builder_append_vector_float32_elements (bson_array_builder_t *builder,
bson_vector_float32_const_view_t view);
Parameters¶
builder
: A valid bson_array_builder_t.view
: A bson_vector_float32_const_view_t pointing to validatedfloat32
BSON Binary Vector subtype data.
Description¶
Converts the Vector pointed to by view
into elements of a plain BSON Array, written to builder
.
Every element will be converted from float
to double
precision.
Returns¶
Returns true
if the operation was applied successfully. The function fails if appending the array grows bson
larger than INT32_MAX.