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

  
 
  

home | help
BSON_READER_NEW_FROM_HANDLE(3)	     libbson	  BSON_READER_NEW_FROM_HANDLE(3)

SYNOPSIS
	bson_reader_t *
	bson_reader_new_from_handle (void *handle,
				     bson_reader_read_func_t rf,
				     bson_reader_destroy_func_t df);

PARAMETERS
     * handle: A user-provided pointer or NULL.

     * rf: A bson_reader_read_func_t.

     * df: A bson_reader_destroy_func_t.

DESCRIPTION
     This  function  allows for a pluggable data stream for the reader. This can
     be used to read from sockets, files, memory, or other arbitrary sources.

RETURNS
     A newly allocated bson_reader_t if successful; otherwise NULL.

AUTHOR
     MongoDB, Inc

COPYRIGHT
     2009-present, MongoDB, Inc.

1.30.8				  Aug 27, 2026	  BSON_READER_NEW_FROM_HANDLE(3)

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

home | help