@@ -345,9 +345,9 @@ changes:
345345
346346* ` arrayBuffer ` {ArrayBuffer|SharedArrayBuffer} An [ ` ArrayBuffer ` ] ,
347347 [ ` SharedArrayBuffer ` ] or the ` .buffer ` property of a [ ` TypedArray ` ] .
348- * ` byteOffset ` {integer} Index of first byte to expose. ** Default:** ` 0 `
348+ * ` byteOffset ` {integer} Index of first byte to expose. ** Default:** ` 0 ` .
349349* ` length ` {integer} Number of bytes to expose.
350- ** Default:** ` arrayBuffer.length - byteOffset `
350+ ** Default:** ` arrayBuffer.length - byteOffset ` .
351351
352352This creates a view of the [ ` ArrayBuffer ` ] or [ ` SharedArrayBuffer ` ] without
353353copying the underlying memory. For example, when passed a reference to the
@@ -459,7 +459,7 @@ changes:
459459> Use [ ` Buffer.from(string[, encoding]) ` ] [ `Buffer.from(string)` ] instead.
460460
461461* ` string ` {string} String to encode.
462- * ` encoding ` {string} The encoding of ` string ` . ** Default:** ` 'utf8' `
462+ * ` encoding ` {string} The encoding of ` string ` . ** Default:** ` 'utf8' ` .
463463
464464Creates a new ` Buffer ` containing ` string ` . The ` encoding ` parameter identifies
465465the character encoding of ` string ` .
@@ -496,9 +496,9 @@ changes:
496496
497497* ` size ` {integer} The desired length of the new ` Buffer ` .
498498* ` fill ` {string|Buffer|integer} A value to pre-fill the new ` Buffer ` with.
499- ** Default:** ` 0 `
499+ ** Default:** ` 0 ` .
500500* ` encoding ` {string} If ` fill ` is a string, this is its encoding.
501- ** Default:** ` 'utf8' `
501+ ** Default:** ` 'utf8' ` .
502502
503503Allocates a new ` Buffer ` of ` size ` bytes. If ` fill ` is ` undefined ` , the
504504` Buffer ` will be * zero-filled* .
@@ -654,7 +654,7 @@ changes:
654654* ` string ` {string|Buffer|TypedArray|DataView|ArrayBuffer|SharedArrayBuffer} A
655655 value to calculate the length of.
656656* ` encoding ` {string} If ` string ` is a string, this is its encoding.
657- ** Default:** ` 'utf8' `
657+ ** Default:** ` 'utf8' ` .
658658* Returns: {integer} The number of bytes contained within ` string ` .
659659
660660Returns the actual byte length of a string. This is not the same as
@@ -774,9 +774,9 @@ added: v5.10.0
774774
775775* ` arrayBuffer ` {ArrayBuffer|SharedArrayBuffer} An [ ` ArrayBuffer ` ] ,
776776 [ ` SharedArrayBuffer ` ] , or the ` .buffer ` property of a [ ` TypedArray ` ] .
777- * ` byteOffset ` {integer} Index of first byte to expose. ** Default:** ` 0 `
777+ * ` byteOffset ` {integer} Index of first byte to expose. ** Default:** ` 0 ` .
778778* ` length ` {integer} Number of bytes to expose.
779- ** Default:** ` arrayBuffer.length - byteOffset `
779+ ** Default:** ` arrayBuffer.length - byteOffset ` .
780780
781781This creates a view of the [ ` ArrayBuffer ` ] without copying the underlying
782782memory. For example, when passed a reference to the ` .buffer ` property of a
@@ -845,7 +845,7 @@ added: v5.10.0
845845-->
846846
847847* ` string ` {string} A string to encode.
848- * ` encoding ` {string} The encoding of ` string ` . ** Default:** ` 'utf8' `
848+ * ` encoding ` {string} The encoding of ` string ` . ** Default:** ` 'utf8' ` .
849849
850850Creates a new ` Buffer ` containing ` string ` . The ` encoding ` parameter identifies
851851the character encoding of ` string ` .
@@ -984,13 +984,13 @@ changes:
984984
985985* ` target ` {Buffer|Uint8Array} A ` Buffer ` or [ ` Uint8Array ` ] to compare to.
986986* ` targetStart ` {integer} The offset within ` target ` at which to begin
987- comparison. ** Default:** ` 0 `
987+ comparison. ** Default:** ` 0 ` .
988988* ` targetEnd ` {integer} The offset with ` target ` at which to end comparison
989- (not inclusive). ** Default:** ` target.length `
989+ (not inclusive). ** Default:** ` target.length ` .
990990* ` sourceStart ` {integer} The offset within ` buf ` at which to begin comparison.
991- ** Default:** ` 0 `
991+ ** Default:** ` 0 ` .
992992* ` sourceEnd ` {integer} The offset within ` buf ` at which to end comparison
993- (not inclusive). ** Default:** [ ` buf.length ` ]
993+ (not inclusive). ** Default:** [ ` buf.length ` ] .
994994* Returns: {integer}
995995
996996Compares ` buf ` with ` target ` and returns a number indicating whether ` buf `
@@ -1047,11 +1047,11 @@ added: v0.1.90
10471047
10481048* ` target ` {Buffer|Uint8Array} A ` Buffer ` or [ ` Uint8Array ` ] to copy into.
10491049* ` targetStart ` {integer} The offset within ` target ` at which to begin
1050- copying to. ** Default:** ` 0 `
1050+ copying to. ** Default:** ` 0 ` .
10511051* ` sourceStart ` {integer} The offset within ` buf ` at which to begin copying from.
1052- ** Default:** ` 0 `
1052+ ** Default:** ` 0 ` .
10531053* ` sourceEnd ` {integer} The offset within ` buf ` at which to stop copying (not
1054- inclusive). ** Default:** [ ` buf.length ` ]
1054+ inclusive). ** Default:** [ ` buf.length ` ] .
10551055* Returns: {integer} The number of bytes copied.
10561056
10571057Copies data from a region of ` buf ` to a region in ` target ` even if the ` target `
@@ -1165,10 +1165,10 @@ changes:
11651165-->
11661166
11671167* ` value ` {string|Buffer|integer} The value to fill ` buf ` with.
1168- * ` offset ` {integer} Number of bytes to skip before starting to fill ` buf ` . ** Default:** ` 0 `
1169- * ` end ` {integer} Where to stop filling ` buf ` (not inclusive). ** Default:** [ ` buf.length ` ]
1168+ * ` offset ` {integer} Number of bytes to skip before starting to fill ` buf ` . ** Default:** ` 0 ` .
1169+ * ` end ` {integer} Where to stop filling ` buf ` (not inclusive). ** Default:** [ ` buf.length ` ] .
11701170* ` encoding ` {string} If ` value ` is a string, this is its encoding.
1171- ** Default:** ` 'utf8' `
1171+ ** Default:** ` 'utf8' ` .
11721172* Returns: {Buffer} A reference to ` buf ` .
11731173
11741174Fills ` buf ` with the specified ` value ` . If the ` offset ` and ` end ` are not given,
@@ -1216,9 +1216,9 @@ added: v5.3.0
12161216-->
12171217
12181218* ` value ` {string|Buffer|integer} What to search for.
1219- * ` byteOffset ` {integer} Where to begin searching in ` buf ` . ** Default:** ` 0 `
1219+ * ` byteOffset ` {integer} Where to begin searching in ` buf ` . ** Default:** ` 0 ` .
12201220* ` encoding ` {string} If ` value ` is a string, this is its encoding.
1221- ** Default:** ` 'utf8' `
1221+ ** Default:** ` 'utf8' ` .
12221222* Returns: {boolean} ` true ` if ` value ` was found in ` buf ` , ` false ` otherwise.
12231223
12241224Equivalent to [ ` buf.indexOf() !== -1 ` ] [ `buf.indexOf()` ] .
@@ -1256,9 +1256,9 @@ changes:
12561256-->
12571257
12581258* ` value ` {string|Buffer|Uint8Array|integer} What to search for.
1259- * ` byteOffset ` {integer} Where to begin searching in ` buf ` . ** Default:** ` 0 `
1259+ * ` byteOffset ` {integer} Where to begin searching in ` buf ` . ** Default:** ` 0 ` .
12601260* ` encoding ` {string} If ` value ` is a string, this is its encoding.
1261- ** Default:** ` 'utf8' `
1261+ ** Default:** ` 'utf8' ` .
12621262* Returns: {integer} The index of the first occurrence of ` value ` in ` buf ` or ` -1 `
12631263 if ` buf ` does not contain ` value ` .
12641264
@@ -1358,9 +1358,9 @@ changes:
13581358
13591359* ` value ` {string|Buffer|Uint8Array|integer} What to search for.
13601360* ` byteOffset ` {integer} Where to begin searching in ` buf ` .
1361- ** Default:** [ ` buf.length ` ] ` - 1 `
1361+ ** Default:** [ ` buf.length ` ] ` - 1 ` .
13621362* ` encoding ` {string} If ` value ` is a string, this is its encoding.
1363- ** Default:** ` 'utf8' `
1363+ ** Default:** ` 'utf8' ` .
13641364* Returns: {integer} The index of the last occurrence of ` value ` in ` buf ` or ` -1 `
13651365 if ` buf ` does not contain ` value ` .
13661366
@@ -1792,9 +1792,9 @@ changes:
17921792 calculations with them.
17931793-->
17941794
1795- * ` start ` {integer} Where the new ` Buffer ` will start. ** Default:** ` 0 `
1795+ * ` start ` {integer} Where the new ` Buffer ` will start. ** Default:** ` 0 ` .
17961796* ` end ` {integer} Where the new ` Buffer ` will end (not inclusive).
1797- ** Default:** [ ` buf.length ` ]
1797+ ** Default:** [ ` buf.length ` ] .
17981798* Returns: {Buffer}
17991799
18001800Returns a new ` Buffer ` that references the same memory as the original, but
@@ -1963,10 +1963,10 @@ console.log(copy);
19631963added: v0.1.90
19641964-->
19651965
1966- * ` encoding ` {string} The character encoding to decode to. ** Default:** ` 'utf8' `
1967- * ` start ` {integer} The byte offset to start decoding at. ** Default:** ` 0 `
1966+ * ` encoding ` {string} The character encoding to decode to. ** Default:** ` 'utf8' ` .
1967+ * ` start ` {integer} The byte offset to start decoding at. ** Default:** ` 0 ` .
19681968* ` end ` {integer} The byte offset to stop decoding at (not inclusive).
1969- ** Default:** [ ` buf.length ` ]
1969+ ** Default:** [ ` buf.length ` ] .
19701970* Returns: {string}
19711971
19721972Decodes ` buf ` to a string according to the specified character encoding in
@@ -2040,9 +2040,9 @@ added: v0.1.90
20402040-->
20412041
20422042* ` string ` {string} String to be written to ` buf ` .
2043- * ` offset ` {integer} Number of bytes to skip before starting to write ` string ` . ** Default:** ` 0 `
2044- * ` length ` {integer} Number of bytes to write. ** Default:** ` buf.length - offset `
2045- * ` encoding ` {string} The character encoding of ` string ` . ** Default:** ` 'utf8' `
2043+ * ` offset ` {integer} Number of bytes to skip before starting to write ` string ` . ** Default:** ` 0 ` .
2044+ * ` length ` {integer} Number of bytes to write. ** Default:** ` buf.length - offset ` .
2045+ * ` encoding ` {string} The character encoding of ` string ` . ** Default:** ` 'utf8' ` .
20462046* Returns: {integer} Number of bytes written.
20472047
20482048Writes ` string ` to ` buf ` at ` offset ` according to the character encoding in ` encoding ` .
@@ -2369,7 +2369,7 @@ changes:
23692369* ` value ` {integer} Number to be written to ` buf ` .
23702370* ` offset ` {integer} Number of bytes to skip before starting to write. Must satisfy: ` 0 <= offset <= buf.length - byteLength ` .
23712371* ` byteLength ` {integer} Number of bytes to write. Must satisfy: ` 0 < byteLength <= 6 ` .
2372- ** Default:** ` false `
2372+ ** Default:** ` false ` .
23732373* Returns: {integer} ` offset ` plus the number of bytes written.
23742374
23752375Writes ` byteLength ` bytes of ` value ` to ` buf ` at the specified ` offset ` .
0 commit comments