File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -121,7 +121,7 @@ The BSON `deserialize` method takes a Node.js Buffer and an optional options obj
121
121
* @param {Object} [ options.promoteValues=false] when deserializing will promote BSON values to their Node.js closest equivalent types.
122
122
* @param {Object} [ options.fieldsAsRaw=null] allow to specify if there what fields we wish to return as unserialized raw buffer.
123
123
* @param {Object} [ options.bsonRegExp=false] return BSON regular expressions as BSONRegExp instances.
124
- * @return {Number } returns the next index in the buffer after deserialization ** x ** numbers of documents .
124
+ * @return {Object } returns the deserialized Javascript Object .
125
125
126
126
#### BSON.deserializeStream
127
127
@@ -141,7 +141,7 @@ The BSON `deserializeStream` method takes a Node.js Buffer, `startIndex` and all
141
141
* @param {Object} [ options.promoteValues=false] when deserializing will promote BSON values to their Node.js closest equivalent types.
142
142
* @param {Object} [ options.fieldsAsRaw=null] allow to specify if there what fields we wish to return as unserialized raw buffer.
143
143
* @param {Object} [ options.bsonRegExp=false] return BSON regular expressions as BSONRegExp instances.
144
- * @return {Object } returns the deserialized JavaScript Object .
144
+ * @return {Number } returns the next index in the buffer after deserialization ** x ** numbers of documents .
145
145
146
146
## FAQ
147
147
You can’t perform that action at this time.
0 commit comments