bson_new_from_data3
Parameters
- •
-
data: A BSON encoded document buffer.
- •
-
length: The length ofdatain bytes.
Overview
The bson_new_from_data() function shall create a new bson_t on the heap and copy the contents of data. This may be helpful when working with language bindings but is generally expected to be slower.
Returns
A newly allocated bson_t if successful, otherwise NULL.
History
- Debian 13 (Trixie): the text shown here
- Debian 12 (Bookworm)
- Debian 11 (Bullseye)
- Debian 10 (Buster)
- Debian 9 (Stretch)