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