Files
node/doc/api
Gerhard Stoebich 34300aaaa4 doc: correct crypto.randomFill() and randomFillSync()
Correct return type of `crypto.randomFillSync()` which is of same type as
passed as `buffer` argument.

Correct samples for `randomFill()` and `randomFillSync()` using a `TypeArray`
or `DataView` as these types don't support `.toString(encoding)`.

PR-URL: https://github.com/nodejs/node/pull/21550
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: James M Snell <jasnell@gmail.com>
2018-08-06 21:28:25 +02:00
..
2018-07-15 19:02:29 +02:00
2018-07-18 13:19:10 +02:00
2018-05-08 14:22:25 -07:00
2018-06-13 08:45:04 +02:00
2018-07-04 08:22:14 +02:00
2018-06-28 20:41:09 +02:00
2018-05-08 14:22:25 -07:00
2018-06-13 08:45:04 +02:00
2018-07-15 19:02:29 +02:00
2018-07-15 19:02:29 +02:00
2018-07-16 21:12:35 +02:00
2018-07-15 19:02:29 +02:00
2018-07-15 19:02:29 +02:00
2018-05-08 14:22:25 -07:00
2018-07-15 19:02:29 +02:00
2018-07-16 21:12:35 +02:00
2018-05-04 12:48:38 -04:00
2018-07-15 19:02:29 +02:00
2018-07-15 19:02:29 +02:00
2018-05-08 14:22:25 -07:00
2018-05-08 14:22:25 -07:00
2018-07-15 19:02:29 +02:00
2018-07-15 19:02:29 +02:00