★ wanayoo — archive 1999 https://github.com/nodejs/node/pull/25585Nouvelle recherche | Portail wanayoo
Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

doc: correct my wrong note about buf.fill() #25585

Closed
wants to merge 1 commit into from
Closed

doc: correct my wrong note about buf.fill() #25585

wants to merge 1 commit into from

Conversation

Copy link
Contributor

@vsemozhetbyt vsemozhetbyt commented Jan 19, 2019

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • documentation is changed or added
  • commit message follows commit guidelines

Sorry, I've misinterpreted this operation:

int value = val & 255;

> Buffer.alloc(5).fill(255)
<Buffer ff ff ff ff ff>
> Buffer.alloc(5).fill(256)
<Buffer 00 00 00 00 00>
> Buffer.alloc(5).fill(257)
<Buffer 01 01 01 01 01>
> Buffer.alloc(5).fill(258)
<Buffer 02 02 02 02 02>

@nodejs-github-bot nodejs-github-bot added buffer doc labels Jan 19, 2019
@vsemozhetbyt
Copy link
Contributor Author

@vsemozhetbyt vsemozhetbyt commented Jan 19, 2019

Node.js Collaborators, please, add 👍 here if you approve fast-tracking.

@vsemozhetbyt vsemozhetbyt added fast-track author ready labels Jan 20, 2019
vsemozhetbyt added a commit that referenced this issue Jan 20, 2019
PR-URL: #25585
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Сковорода Никита Андреевич <chalkerx@gmail.com>
@vsemozhetbyt
Copy link
Contributor Author

@vsemozhetbyt vsemozhetbyt commented Jan 20, 2019

Landed in 17c6b1d
Thank you for the reviews.

@vsemozhetbyt vsemozhetbyt deleted the doc-del-buf-fill-255 branch Jan 20, 2019
addaleax pushed a commit that referenced this issue Jan 23, 2019
PR-URL: #25585
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Сковорода Никита Андреевич <chalkerx@gmail.com>
@MylesBorins MylesBorins mentioned this pull request Jan 24, 2019
BethGriggs pushed a commit that referenced this issue Apr 29, 2019
PR-URL: #25585
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Сковорода Никита Андреевич <chalkerx@gmail.com>
@BethGriggs BethGriggs mentioned this pull request May 1, 2019
BethGriggs pushed a commit that referenced this issue May 10, 2019
PR-URL: #25585
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Сковорода Никита Андреевич <chalkerx@gmail.com>
MylesBorins pushed a commit that referenced this issue May 16, 2019
PR-URL: #25585
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Сковорода Никита Андреевич <chalkerx@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
author ready buffer doc fast-track
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants