GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||
GeezerVison is showing github.com — doc: correct crypto.randomFill() and randomFillSync() by Flarna · Pull Request #21550 · nodejs/node Conversation
Member
Correct return type of Correct samples for
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions
2 of 9 tasks
addaleax
reviewed
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Just using
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions
|
|
CI: https://ci.nodejs.org/job/node-test-pull-request-lite/913/ |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
LGTM even though I wonder if we should explain the example at least once?
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Landed in acc633c |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
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: #21550 Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Ruben Bridgewater <[email protected]> Reviewed-By: James M Snell <[email protected]>
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: #21550 Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Ruben Bridgewater <[email protected]> Reviewed-By: James M Snell <[email protected]>
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.