How to use the decode function from bson

Find comprehensive JavaScript bson.decode code examples handpicked from public code repositorys.

31
32
33
34
35
36
37
38
39
40
--------------------------
### decode
**以 bson 方式解码字符串为一个变量**

```JavaScript
static Object bson.decode(Buffer data);
```

调用参数:
* data: [Buffer](../../object/ifs/Buffer.md), 要解码的二进制数据
fork icon26
star icon24
watch icon8

+ 13 other calls in file