summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorRich Trott <rtrott@gmail.com>2023-05-11 16:09:17 -0700
committerGitHub <noreply@github.com>2023-05-11 23:09:17 +0000
commit6191dcf343360f2bc7dcf59ad83320296d7af023 (patch)
treecc907892e4a54f538033cf3da269be94a6f7fb02 /doc
parent745083abb4a73ba1f5a3441db706bdfdeaed2243 (diff)
downloadnode-new-6191dcf343360f2bc7dcf59ad83320296d7af023.tar.gz
doc: remove broken link
Closes: https://github.com/nodejs/node/issues/47940 PR-URL: https://github.com/nodejs/node/pull/47942 Fixes: https://github.com/nodejs/node/issues/47940 Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Diffstat (limited to 'doc')
-rw-r--r--doc/api/buffer.md5
1 files changed, 2 insertions, 3 deletions
diff --git a/doc/api/buffer.md b/doc/api/buffer.md
index ac685b9cd5..27fcd7d804 100644
--- a/doc/api/buffer.md
+++ b/doc/api/buffer.md
@@ -189,8 +189,8 @@ The following legacy character encodings are also supported:
better choice when encoding or decoding ASCII-only text. It is only provided
for legacy compatibility.
-* `'binary'`: Alias for `'latin1'`. See [binary strings][] for more background
- on this topic. The name of this encoding can be very misleading, as all of the
+* `'binary'`: Alias for `'latin1'`.
+ The name of this encoding can be very misleading, as all of the
encodings listed here convert between strings and binary data. For converting
between strings and `Buffer`s, typically `'utf8'` is the right choice.
@@ -5528,6 +5528,5 @@ introducing security vulnerabilities into an application.
[`util.inspect()`]: util.md#utilinspectobject-options
[`v8::TypedArray::kMaxLength`]: https://v8.github.io/api/head/classv8_1_1TypedArray.html#a54a48f4373da0850663c4393d843b9b0
[base64url]: https://tools.ietf.org/html/rfc4648#section-5
-[binary strings]: https://developer.mozilla.org/en-US/docs/Web/API/DOMString/Binary
[endianness]: https://en.wikipedia.org/wiki/Endianness
[iterator]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Iteration_protocols