| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| 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: € |
There was a problem hiding this comment.
Isn't this already implied by the text preceding this code block?
Sorry, something went wrong.
There was a problem hiding this comment.
@mscdex It's implied, but I thought it would be nice to show the result. won't it be needed?
Sorry, something went wrong.
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>
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>
| Back | FazBrowse Home | New Git URL |
As with the other examples, I added result about the output.
Refs: #49143