Skip to content

doc: add Uint8Array to end and write - #33217

Closed
rexagod wants to merge 1 commit into
nodejs:masterfrom
rexagod:http2-uint8array
Closed

doc: add Uint8Array to end and write#33217
rexagod wants to merge 1 commit into
nodejs:masterfrom
rexagod:http2-uint8array

Conversation

@rexagod

Copy link
Copy Markdown
Member
Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • tests and/or benchmarks are included
  • documentation is changed or added
  • commit message follows commit guidelines

@nodejs-github-botnodejs-github-bot added doc Issues and PRs related to the documentations. http2 Issues or PRs related to the http2 subsystem. labels May 2, 2020
Comment threaddoc/api/http2.md
@BridgeARBridgeAR added the author ready PRs that have at least one approval, no pending requests for changes, and a CI started. label May 3, 2020
@SimonSchick

Copy link
Copy Markdown
Contributor

Hey just chiming in, since Buffer inherits from Uint8Array shouldn't the param just be Uint8Array | string?

@addaleax

Copy link
Copy Markdown
Member

@SimonSchick Yes. Lots of people don’t know that Buffer inherits from Uint8Array, so that’s why (I believe) we’ve been documenting this explicitly.

@SimonSchick

Copy link
Copy Markdown
Contributor

Right, maybe the class hierarchies should be documented more clearly at some point.
I've only commented cause I tried to clean those type unions up in @types/node 😛

@addaleax

Copy link
Copy Markdown
Member

Landed in 280c485

addaleax pushed a commit that referenced this pull request May 7, 2020
PR-URL: #33217
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
@addaleaxaddaleax closed this May 7, 2020
codebytere pushed a commit that referenced this pull request May 11, 2020
PR-URL: #33217
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
@codebyterecodebytere mentioned this pull request May 18, 2020
codebytere pushed a commit that referenced this pull request Jun 7, 2020
PR-URL: #33217
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
@codebyterecodebytere mentioned this pull request Jun 9, 2020
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

author readyPRs that have at least one approval, no pending requests for changes, and a CI started.docIssues and PRs related to the documentations.http2Issues or PRs related to the http2 subsystem.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

10 participants

@rexagod@SimonSchick@addaleax@jasnell@lpinca@cjihrig@BridgeAR@aduh95@trivikr@nodejs-github-bot