mirror of https://github.com/nodejs/node.git
Add doc for Buffer.isBuffer
parent
41d73e02a2
commit
fca713eba4
|
@ -81,6 +81,9 @@ Example: copy an ASCII string into a buffer, one byte at a time:
|
||||||
|
|
||||||
// node.js
|
// node.js
|
||||||
|
|
||||||
|
### Buffer.isBuffer(obj)
|
||||||
|
|
||||||
|
Tests if `obj` is a `Buffer`.
|
||||||
|
|
||||||
### Buffer.byteLength(string, encoding='utf8')
|
### Buffer.byteLength(string, encoding='utf8')
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue