projects
/
platform
/
upstream
/
nodejs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
41d73e0
)
Add doc for Buffer.isBuffer
author
Ryan Dahl
<ry@tinyclouds.org>
Sun, 19 Dec 2010 02:44:04 +0000
(18:44 -0800)
committer
Ryan Dahl
<ry@tinyclouds.org>
Sun, 19 Dec 2010 02:44:04 +0000
(18:44 -0800)
doc/api/buffers.markdown
patch
|
blob
|
history
diff --git
a/doc/api/buffers.markdown
b/doc/api/buffers.markdown
index
2a9b973
..
cb32e6c
100644
(file)
--- a/
doc/api/buffers.markdown
+++ b/
doc/api/buffers.markdown
@@
-81,6
+81,9
@@
Example: copy an ASCII string into a buffer, one byte at a time:
// node.js
+### Buffer.isBuffer(obj)
+
+Tests if `obj` is a `Buffer`.
### Buffer.byteLength(string, encoding='utf8')