Skip to content
This repository has been archived by the owner on Apr 22, 2023. It is now read-only.

doc: several additional bundled doc improvements #25592

Closed
wants to merge 5 commits into from

Conversation

jasnell
Copy link
Member

@jasnell jasnell commented Jun 29, 2015

A second round of documentation improvements from other individual pull requests,
bundled to make them easier to land. Each of the original PR's were already reviewed
and signed off.

scop and others added 5 commits June 29, 2015 10:06
Made explicitely clear that when size bytes are not available, it will
return null, unless we've ended, in which case the data remaining in the
buffer will be returned.

Fixes nodejs#7273
@@ -227,7 +227,9 @@ returns it. If there is no data available, then it will return
`null`.

If you pass in a `size` argument, then it will return that many
bytes. If `size` bytes are not available, then it will return `null`.
bytes. If `size` bytes are not available, then it will return `null`,
unless we've ended, in which case it will return the data remaining
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Instead of "we've" maybe this should say "the stream".

@cjihrig
Copy link

cjihrig commented Jun 29, 2015

LGTM with one tiny suggestion.

jasnell pushed a commit that referenced this pull request Jun 29, 2015
jasnell pushed a commit that referenced this pull request Jun 29, 2015
jasnell pushed a commit that referenced this pull request Jun 29, 2015
jasnell pushed a commit that referenced this pull request Jun 29, 2015
'the' to 'then'

Reviewed-By: James M Snell <[email protected]>
PR-URL: #25592
jasnell pushed a commit that referenced this pull request Jun 29, 2015
Made explicitely clear that when size bytes are not available, it will
return null, unless we've ended, in which case the data remaining in the
buffer will be returned.

Fixes #7273

Reviewed-By: James M Snell <[email protected]>
PR-URL: #25592
@jasnell jasnell closed this Jun 29, 2015
@jasnell
Copy link
Member Author

jasnell commented Jun 29, 2015

Landed

jasnell pushed a commit to jasnell/node-joyent that referenced this pull request Jul 9, 2015
jasnell pushed a commit to jasnell/node-joyent that referenced this pull request Jul 9, 2015
jasnell pushed a commit to jasnell/node-joyent that referenced this pull request Jul 9, 2015
jasnell pushed a commit to jasnell/node-joyent that referenced this pull request Jul 9, 2015
'the' to 'then'

Reviewed-By: James M Snell <[email protected]>
PR-URL: nodejs#25592
jasnell pushed a commit to jasnell/node-joyent that referenced this pull request Jul 9, 2015
Made explicitely clear that when size bytes are not available, it will
return null, unless we've ended, in which case the data remaining in the
buffer will be returned.

Fixes nodejs#7273

Reviewed-By: James M Snell <[email protected]>
PR-URL: nodejs#25592
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants