FreeBSD Manual Pages
BSON_NEW_FROM_DATA(3) libbson BSON_NEW_FROM_DATA(3) SYNOPSIS bson_t * bson_new_from_data (const uint8_t *data, size_t length); PARAMETERS • data: A BSON encoded document buffer. • length: The length of data in bytes. DESCRIPTION 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. AUTHOR MongoDB, Inc COPYRIGHT 2009-present, MongoDB, Inc. 1.30.2 Apr 12, 2025 BSON_NEW_FROM_DATA(3)
SYNOPSIS | PARAMETERS | DESCRIPTION | RETURNS | AUTHOR | COPYRIGHT
Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=bson_new_from_data&sektion=3&manpath=FreeBSD+Ports+14.3.quarterly>