Skip to content

doc: add print results for examples in StringDecoder - #49326

Merged
nodejs-github-bot merged 1 commit into
nodejs:mainfrom
pluris:fix/add_prints_string_decoder
Aug 27, 2023
Merged

doc: add print results for examples in StringDecoder#49326
nodejs-github-bot merged 1 commit into
nodejs:mainfrom
pluris:fix/add_prints_string_decoder

Conversation

@pluris

Copy link
Copy Markdown
Contributor

As with the other examples, I added result about the output.

Refs: #49143

@nodejs-github-botnodejs-github-bot added doc Issues and PRs related to the documentations. string_decoder Issues and PRs related to the string_decoder subsystem. labels Aug 25, 2023
decoder.write(Buffer.from([0xE2]));
decoder.write(Buffer.from([0x82]));
console.log(decoder.end(Buffer.from([0xAC])));
console.log(decoder.end(Buffer.from([0xAC]))); // Prints: €

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Isn't this already implied by the text preceding this code block?

Copy link
Copy Markdown
ContributorAuthor

Choose a reason for hiding this comment

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

@mscdex It's implied, but I thought it would be nice to show the result. won't it be needed?

@pluris
pluris requested a review from mscdexAugust 25, 2023 15:54
@aduh95aduh95 added author ready PRs that have at least one approval, no pending requests for changes, and a CI started. commit-queue Add this label to land a pull request using GitHub Actions. labels Aug 26, 2023
@nodejs-github-botnodejs-github-bot removed the commit-queue Add this label to land a pull request using GitHub Actions. label Aug 27, 2023
@nodejs-github-bot
nodejs-github-bot merged commit b9153af into nodejs:mainAug 27, 2023
@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

Landed in b9153af

@pluris
pluris deleted the fix/add_prints_string_decoder branch August 30, 2023 16:12
UlisesGascon pushed a commit that referenced this pull request Sep 10, 2023
PR-URL: #49326
Refs: #49143
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: Deokjin Kim <deokjin81.kim@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
@UlisesGasconUlisesGascon mentioned this pull request Sep 10, 2023
targos pushed a commit that referenced this pull request Nov 27, 2023
PR-URL: #49326
Refs: #49143
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: Deokjin Kim <deokjin81.kim@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
@targostargos mentioned this pull request Nov 28, 2023
sercher added a commit to sercher/graaljs that referenced this pull request Apr 25, 2024
PR-URL: nodejs/node#49326
Refs: nodejs/node#49143
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: Deokjin Kim <deokjin81.kim@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
sercher added a commit to sercher/graaljs that referenced this pull request Apr 25, 2024
PR-URL: nodejs/node#49326
Refs: nodejs/node#49143
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: Deokjin Kim <deokjin81.kim@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
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.string_decoderIssues and PRs related to the string_decoder subsystem.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants

@pluris@nodejs-github-bot@mscdex@lpinca@deokjinkim@aduh95