summaryrefslogtreecommitdiff
path: root/doc/api/v8.md
diff options
context:
space:
mode:
authorSam Ruby <rubys@intertwingly.net>2018-07-12 13:48:11 -0400
committerVse Mozhet Byt <vsemozhetbyt@gmail.com>2018-07-15 23:57:35 +0300
commit40c85ff0634913f4c61e13cbb7cacb7e2c76120f (patch)
tree242febebcaa984898e65cdcd6bd61d6f6c1e4fed /doc/api/v8.md
parent1009118d27b069411016df4ca6915aac3c36a41f (diff)
downloadandroid-node-v8-40c85ff0634913f4c61e13cbb7cacb7e2c76120f.tar.gz
android-node-v8-40c85ff0634913f4c61e13cbb7cacb7e2c76120f.tar.bz2
android-node-v8-40c85ff0634913f4c61e13cbb7cacb7e2c76120f.zip
doc: declare all parameter types
PR-URL: https://github.com/nodejs/node/pull/21782 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
Diffstat (limited to 'doc/api/v8.md')
-rw-r--r--doc/api/v8.md4
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/api/v8.md b/doc/api/v8.md
index c9afa93f89..6536451e3a 100644
--- a/doc/api/v8.md
+++ b/doc/api/v8.md
@@ -175,6 +175,7 @@ changes to the API or wire format) may occur until this warning is removed.
added: v8.0.0
-->
+* `value` {any}
* Returns: {Buffer}
Uses a [`DefaultSerializer`][] to serialize `value` into a buffer.
@@ -203,6 +204,8 @@ Writes out a header, which includes the serialization format version.
#### serializer.writeValue(value)
+* `value` {any}
+
Serializes a JavaScript value and adds the serialized representation to the
internal buffer.
@@ -362,6 +365,7 @@ For use inside of a custom [`deserializer._readHostObject()`][].
#### deserializer.readRawBytes(length)
+* `length` {integer}
* Returns: {Buffer}
Read raw bytes from the deserializer’s internal buffer. The `length` parameter