@@ -75,8 +75,8 @@ The character encodings currently supported by Node.js include:
7575Buffers are also ` Uint8Array ` TypedArray instances. However, there are subtle
7676incompatibilities with the TypedArray specification in ECMAScript 2015. For
7777instance, while ` ArrayBuffer#slice() ` creates a copy of the slice,
78- the implementation of [ ` Buffer#slice() ` ] [ ] creates a view over the existing
79- Buffer without copying, making ` Buffer#slice() ` far more efficient.
78+ the implementation of [ ` Buffer#slice() ` ] [ `buf.slice()` ] creates a view over the
79+ existing Buffer without copying, making ` Buffer#slice() ` far more efficient.
8080
8181It is also possible to create new TypedArray instances from a ` Buffer ` with the
8282following caveats:
@@ -1351,17 +1351,16 @@ socket.on('readable', () => {
13511351Use of ` SlowBuffer ` should be used only as a last resort * after* a developer
13521352has observed undue memory retention in their applications.
13531353
1354- [ iterator ] : https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Iteration_protocols
1355- [ `Array#indexOf()` ] : https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/indexOf
13561354[ `Array#includes()` ] : https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/includes
1355+ [ `Array#indexOf()` ] : https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/indexOf
1356+ [ `buf.entries()` ] : #buffer_buf_entries
13571357[ `buf.fill(0)` ] : #buffer_buf_fill_value_offset_end
1358+ [ `buf.keys()` ] : #buffer_buf_keys
13581359[ `buf.slice()` ] : #buffer_buf_slice_start_end
1360+ [ `buf.values()` ] : #buffer_buf_values
13591361[ `buf1.compare(buf2)` ] : #buffer_buf_compare_otherbuffer
1360- [ `Buffer#slice ()` ] : #buffer_buf_slice_start_end
1362+ [ `JSON.stringify ()` ] : https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/JSON/stringify
13611363[ `RangeError` ] : errors.html#errors_class_rangeerror
13621364[ `String.prototype.length` ] : https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/length
13631365[ `util.inspect()` ] : util.html#util_util_inspect_object_options
1364- [ `buf.values()` ] : #buffer_buf_values
1365- [ `buf.keys()` ] : #buffer_buf_keys
1366- [ `buf.entries()` ] : #buffer_buf_entries
1367- [ `JSON.stringify()` ] : https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/JSON/stringify
1366+ [ iterator ] : https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Iteration_protocols
0 commit comments