Skip site navigation (1)Skip section navigation (2)

  
 
  

home | help
BSON_WRITER_NEW(3)		     libbson		      BSON_WRITER_NEW(3)

SYNOPSIS
	bson_writer_t *
	bson_writer_new (uint8_t **buf,
			 size_t *buflen,
			 size_t offset,
			 bson_realloc_func realloc_func,
			 void *realloc_func_ctx);

PARAMETERS
     * buf: A uint8_t.

     * buflen: A size_t.

     * offset: A size_t.

     * realloc_func: A bson_realloc_func.

     * realloc_func_ctx: A bson_realloc_func.

DESCRIPTION
     Creates  a  new instance of bson_writer_t using the buffer, length, offset,
     and _realloc()_ function supplied.

     The caller is expected to	clean  up  the	structure  when  finished  using
     bson_writer_destroy().

RETURNS
     A newly allocated bson_writer_t.

AUTHOR
     MongoDB, Inc

COPYRIGHT
     2009-present, MongoDB, Inc.

1.30.8				  Aug 27, 2026		      BSON_WRITER_NEW(3)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=bson_writer_new&sektion=3&manpath=FreeBSD+Ports+15.1.quarterly>

home | help