doc: reorganize Buffer link references · nodejs/node@344cac1
@@ -2204,29 +2204,36 @@ buf.fill(0);
22042204console.log(buf);
22052205```
220622062207-[iterator]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Iteration_protocols
2208-[`Array#indexOf()`]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/indexOf
2209-[`Buffer#indexOf()`]: #buffer_buf_indexof_value_byteoffset_encoding
2210-[`Array#includes()`]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/includes
2207+[`buf.compare()`]: #buffer_buf_compare_target_targetstart_targetend_sourcestart_sourceend
22112208[`buf.entries()`]: #buffer_buf_entries
2212-[`buf.fill(0)`]: #buffer_buf_fill_value_offset_end_encoding
2209+[`buf.indexOf()`]: #buffer_buf_indexof_value_byteoffset_encoding
22132210[`buf.fill()`]: #buffer_buf_fill_value_offset_end_encoding
22142211[`buf.keys()`]: #buffer_buf_keys
2212+[`buf.length`]: #buffer_buf_length
22152213[`buf.slice()`]: #buffer_buf_slice_start_end
22162214[`buf.values()`]: #buffer_buf_values
2217-[`buf1.compare(buf2)`]: #buffer_buf_compare_target_targetstart_targetend_sourcestart_sourceend
2218-[`JSON.stringify()`]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/JSON/stringify
2215+[`buffer.kMaxLength`]: #buffer_buffer_kmaxlength
2216+[`Buffer.alloc()`]: #buffer_class_method_buffer_alloc_size_fill_encoding
2217+[`Buffer.allocUnsafe()`]: #buffer_class_method_buffer_allocunsafe_size
2218+[`Buffer.allocUnsafeSlow()`]: #buffer_class_method_buffer_allocunsafeslow_size
2219+[`Buffer.from(array)`]: #buffer_class_method_buffer_from_array
2220+[`Buffer.from(arrayBuffer)`]: #buffer_class_method_buffer_from_arraybuffer_byteoffset_length
2221+[`Buffer.from(buffer)`]: #buffer_class_method_buffer_from_buffer
2222+[`Buffer.from(string)`]: #buffer_class_method_buffer_from_str_encoding
2223+[`Buffer.poolSize`]: #buffer_class_property_buffer_poolsize
22192224[`RangeError`]: errors.html#errors_class_rangeerror
2220-[`String.prototype.length`]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/length
22212225[`util.inspect()`]: util.html#util_util_inspect_object_options
2222-[RFC 4648, Section 5]: https://tools.ietf.org/html/rfc4648#section-5
2223-[buffer_from_array]: #buffer_class_method_buffer_from_array
2224-[buffer_from_buffer]: #buffer_class_method_buffer_from_buffer
2225-[buffer_from_arraybuf]: #buffer_class_method_buffer_from_arraybuffer_byteoffset_length
2226-[buffer_from_string]: #buffer_class_method_buffer_from_str_encoding
2227-[buffer_allocunsafe]: #buffer_class_method_buffer_allocunsafe_size
2228-[buffer_allocunsafeslow]: #buffer_class_method_buffer_allocunsafeslow_size
2229-[buffer_alloc]: #buffer_class_method_buffer_alloc_size_fill_encoding
2230-[`TypedArray.from()`]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/TypedArray/from
2226+2227+[`ArrayBuffer`]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer
2228+[`ArrayBuffer#slice()`]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer/slice
22312229[`DataView`]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/DataView
2230+[iterator]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Iteration_protocols
2231+[`JSON.stringify()`]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/JSON/stringify
2232+[RFC1345]: https://tools.ietf.org/html/rfc1345
2233+[RFC4648, Section 5]: https://tools.ietf.org/html/rfc4648#section-5
2234+[`String.prototype.length`]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/length
22322235[`TypedArray`]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/TypedArray
2236+[`TypedArray.from()`]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/TypedArray/from
2237+[`Uint32Array`]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint32Array
2238+[`Uint8Array`]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array
2239+[WHATWG spec]: https://encoding.spec.whatwg.org/