Created
May 14, 2020 18:43
-
-
Save baranovxyz/b54d4ac4d4eb11f354ec94b72f420989 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let doc = { values: ['first'] }; | |
console.log(BSON.serialize(doc)); | |
// <Buffer 1f 00 00 00 04 76 61 6c 75 65 73 00 12 00 00 00 02 30 00 06 00 00 00 66 69 72 73 74 00 00 00> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment