@@ -179,9 +179,9 @@ In particular:
179179* While [ ` TypedArray.prototype.slice() ` ] [ ] creates a copy of part of the ` TypedArray ` ,
180180 [ ` Buffer.prototype.slice() ` ] [ `buf.slice()` ] creates a view over the existing ` Buffer `
181181 without copying. This behavior can be surprising, and only exists for legacy
182- compatibility. [ ` TypedArray.prototype.subarray() ` ] [ ] can be used to achieve the behavior
183- of [ ` Buffer.prototype.slice() ` ] [ `buf.slice()` ] on both ` Buffer ` s and other
184- ` TypedArray ` s.
182+ compatibility. [ ` TypedArray.prototype.subarray() ` ] [ ] can be used to achieve
183+ the behavior of [ ` Buffer.prototype.slice() ` ] [ `buf.slice()` ] on both ` Buffer ` s
184+ and other ` TypedArray ` s.
185185* [ ` buf.toString() ` ] [ ] is incompatible with its ` TypedArray ` equivalent.
186186* A number of methods, e.g. [ ` buf.indexOf() ` ] [ ] , support additional arguments.
187187
@@ -1086,9 +1086,9 @@ added: v0.1.90
10861086Copies data from a region of ` buf ` to a region in ` target ` , even if the ` target `
10871087memory region overlaps with ` buf ` .
10881088
1089- [ ` TypedArray.prototype.set() ` ] [ ] performs the same operation, and is available for all
1090- TypedArrays, including Node.js ` Buffer ` s, although it takes different
1091- function arguments.
1089+ [ ` TypedArray.prototype.set() ` ] [ ] performs the same operation, and is available
1090+ for all TypedArrays, including Node.js ` Buffer ` s, although it takes
1091+ different function arguments.
10921092
10931093``` js
10941094// Create two `Buffer` instances.
@@ -2136,7 +2136,7 @@ offset and cropped by the `start` and `end` indices.
21362136Specifying ` end ` greater than [ ` buf.length ` ] [ ] will return the same result as
21372137that of ` end ` equal to [ ` buf.length ` ] [ ] .
21382138
2139- This method is inherited from [ ` TypedArray.subarray() ` ] [ ] .
2139+ This method is inherited from [ ` TypedArray.prototype. subarray() ` ] [ ] .
21402140
21412141Modifying the new ` Buffer ` slice will modify the memory in the original ` Buffer `
21422142because the allocated memory of the two objects overlap.
0 commit comments