A thin wrapper for the CBson class
DEFAULT_MAX_BSON_SIZE | = | Mongo::DEFAULT_MAX_BSON_SIZE |
DEFAULT_MAX_BSON_SIZE | = | 4 * 1024 * 1024 |
BSON_CODER | = | BSON_JAVA |
BSON_CODER | = | BSON_C |
BSON_CODER | = | BSON_RUBY |
VERSION | = | "1.6.4" |
Reads a single BSON document from an IO object. This method is used in the executable b2json, bundled with the bson gem, for reading a file of bson documents.
@param [IO] io an io object containing a bson object.
@return [ByteBuffer]