mongo.bson.from.buffer: Convert a mongo.bson.buffer object to a mongo.bson object

Description Usage Arguments Details Value See Also Examples

View source: R/bson.R

Description

Convert a mongo.bson.buffer object to a mongo.bson object.

Usage

1

Arguments

buf

(mongo.bson.buffer) The buffer to convert.

Details

Use this after appending data to a buffer to turn it into a mongo.bson object for network transport.

No futher data may be appended to the buffer after calling this function.

Value

A mongo.bson object as converted from the buffer parameter.

See Also

mongo.bson,
mongo.bson.buffer,
mongo.bson.buffer.append,
mongo.bson.destroy.

Examples

1
2
3
4
5
6

jonkatz2/rmongodb documentation built on May 19, 2019, 7:30 p.m.