@@ -2204,29 +2204,36 @@ buf.fill(0);
2204
2204
console .log (buf);
2205
2205
```
2206
2206
2207
- [ 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
2211
2208
[ `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
2213
2210
[ `buf.fill()` ] : #buffer_buf_fill_value_offset_end_encoding
2214
2211
[ `buf.keys()` ] : #buffer_buf_keys
2212
+ [ `buf.length` ] : #buffer_buf_length
2215
2213
[ `buf.slice()` ] : #buffer_buf_slice_start_end
2216
2214
[ `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
2219
2224
[ `RangeError` ] : errors.html#errors_class_rangeerror
2220
- [ `String.prototype.length` ] : https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/length
2221
2225
[ `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
2231
2229
[ `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
2232
2235
[ `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/
0 commit comments