@@ -3518,14 +3518,14 @@ console.log(buf.toString());
3518
3518
### ` buf.asciiSlice([start[, end]]) `
3519
3519
3520
3520
* ` start ` {integer} The byte offset to start slicing at. ** Default** : 0.
3521
- * ` end ` {integer} The byte offset to stop slicing at (not inclusive).
3521
+ * ` end ` {integer} The byte offset to stop slicing at (not inclusive).
3522
3522
** Default** : ` buf.length ` .
3523
3523
* Returns: {string}
3524
3524
3525
- Decodes buf to a string according ASCII character encoding. ` start ` and
3525
+ Decodes buf to a string according ASCII character encoding. ` start ` and
3526
3526
` end ` may be passed to decode only a subset of ` buf ` .
3527
3527
3528
- In most cases, ` buf.toString() ` is preferable, especially if encoding is
3528
+ In most cases, ` buf.toString() ` is preferable, especially if encoding is
3529
3529
variable.
3530
3530
3531
3531
``` mjs
@@ -3549,11 +3549,11 @@ console.log(buf.asciiSlice(0, 3));
3549
3549
### ` buf.base64Slice([start[, end]]) `
3550
3550
3551
3551
* ` start ` {integer} The byte offset to start slicing at. ** Default** : 0.
3552
- * ` end ` {integer} The byte offset to stop decoding at (not inclusive).
3552
+ * ` end ` {integer} The byte offset to stop decoding at (not inclusive).
3553
3553
** Default** : ` buf.length ` .
3554
3554
* Returns: {string}
3555
3555
3556
- Decodes buf to a string according to base64 character encoding. ` start ` and
3556
+ Decodes buf to a string according to base64 character encoding. ` start ` and
3557
3557
` end ` may be passed to decode only a subset of ` buf ` .
3558
3558
3559
3559
``` mjs
@@ -3577,11 +3577,11 @@ console.log(buf.base64Slice(0, 3));
3577
3577
### ` buf.base64urlSlice([start[, end]]) `
3578
3578
3579
3579
* ` start ` {integer} The byte offset to start slicing at. ** Default** : 0.
3580
- * ` end ` {integer} The byte offset to stop decoding at (not inclusive).
3580
+ * ` end ` {integer} The byte offset to stop decoding at (not inclusive).
3581
3581
** Default** : ` buf.length ` .
3582
3582
* Returns: {string}
3583
3583
3584
- Decodes buf to a string according to base64url character encoding. ` start `
3584
+ Decodes buf to a string according to base64url character encoding. ` start `
3585
3585
and ` end ` may be passed to decode only a subset of ` buf ` .
3586
3586
3587
3587
``` mjs
@@ -3605,11 +3605,11 @@ console.log(buf.base64urlSlice(0, 3));
3605
3605
### ` buf.hexSlice([start[, end]]) `
3606
3606
3607
3607
* ` start ` {integer} The byte offset to start slicing at. ** Default** : 0.
3608
- * ` end ` {integer} The byte offset to stop decoding at (not inclusive).
3608
+ * ` end ` {integer} The byte offset to stop decoding at (not inclusive).
3609
3609
** Default** : ` buf.length ` .
3610
3610
* Returns: {string}
3611
3611
3612
- Decodes buf to a string according to hex character encoding. ` start ` and
3612
+ Decodes buf to a string according to hex character encoding. ` start ` and
3613
3613
` end ` may be passed to decode only a subset of ` buf ` .
3614
3614
3615
3615
``` mjs
@@ -3633,11 +3633,11 @@ console.log(buf.hexSlice(0, 3));
3633
3633
### ` buf.latin1Slice([start[, end]]) `
3634
3634
3635
3635
* ` start ` {integer} The byte offset to start slicing at. ** Default** : 0.
3636
- * ` end ` {integer} The byte offset to stop slicing at (not inclusive).
3636
+ * ` end ` {integer} The byte offset to stop slicing at (not inclusive).
3637
3637
** Default** : ` buf.length ` .
3638
3638
* Returns: {string}
3639
3639
3640
- Decodes buf to a string according to latin1 character encoding. ` start ` and
3640
+ Decodes buf to a string according to latin1 character encoding. ` start ` and
3641
3641
` end ` may be passed to decode only a subset of ` buf ` .
3642
3642
3643
3643
``` mjs
@@ -3661,11 +3661,11 @@ console.log(buf.latin1Slice(0, 3));
3661
3661
### ` buf.ucs2Slice([start[, end]]) `
3662
3662
3663
3663
* ` start ` {integer} The byte offset to start slicing at. ** Default** : 0.
3664
- * ` end ` {integer} The byte offset to stop slicing at (not inclusive).
3664
+ * ` end ` {integer} The byte offset to stop slicing at (not inclusive).
3665
3665
** Default** : ` buf.length ` .
3666
3666
* Returns: {string}
3667
3667
3668
- Decodes buf to a string according to UCS-2 character encoding. ` start ` and
3668
+ Decodes buf to a string according to UCS-2 character encoding. ` start ` and
3669
3669
` end ` may be passed to decode only a subset of ` buf ` .
3670
3670
3671
3671
``` mjs
@@ -3689,11 +3689,11 @@ console.log(buf.ucs2Slice(0, 3));
3689
3689
### ` buf.utf8Slice([start[, end]]) `
3690
3690
3691
3691
* ` start ` {integer} The byte offset to start slicing at. ** Default** : 0.
3692
- * ` end ` {integer} The byte offset to stop slicing at (not inclusive).
3692
+ * ` end ` {integer} The byte offset to stop slicing at (not inclusive).
3693
3693
** Default** : ` buf.length ` .
3694
3694
* Returns: {string}
3695
3695
3696
- Decodes buf to a string according to UTF-8 character encoding. ` start ` and
3696
+ Decodes buf to a string according to UTF-8 character encoding. ` start ` and
3697
3697
` end ` may be passed to decode only a subset of ` buf ` .
3698
3698
3699
3699
``` mjs
@@ -3717,7 +3717,7 @@ console.log(buf.utf8Slice(0, 3));
3717
3717
### ` buf.asciiWrite(string[, offset[, length]]) `
3718
3718
3719
3719
* ` string ` {string} String to write to ` buf ` .
3720
- * ` offset ` {integer} Number of bytes to skip before starting to write
3720
+ * ` offset ` {integer} Number of bytes to skip before starting to write
3721
3721
` string ` . ** Default** : 0.
3722
3722
* ` length ` {integer} Maximum number of bytes to write. ** Default** : `buf.
3723
3723
length - offset`.
@@ -3749,7 +3749,7 @@ console.log(bytesWritten);
3749
3749
### ` buf.base64Write(string[, offset[, length]]) `
3750
3750
3751
3751
* ` string ` {string} String to write to ` buf ` .
3752
- * ` offset ` {integer} Number of bytes to skip before starting to write
3752
+ * ` offset ` {integer} Number of bytes to skip before starting to write
3753
3753
` string ` . ** Default** : 0.
3754
3754
* ` length ` {integer} Maximum number of bytes to write. ** Default** : `buf.
3755
3755
length - offset`.
@@ -3815,7 +3815,7 @@ console.log(bytesWritten);
3815
3815
### ` buf.hexWrite(string[, offset[, length]]) `
3816
3816
3817
3817
* ` string ` {string} String to write to ` buf ` .
3818
- * ` offset ` {integer} Number of bytes to skip before starting to write
3818
+ * ` offset ` {integer} Number of bytes to skip before starting to write
3819
3819
` string ` . ** Default** : 0.
3820
3820
* ` length ` {integer} Maximum number of bytes to write. ** Default** : `buf.
3821
3821
length - offset`.
@@ -3849,7 +3849,7 @@ console.log(bytesWritten);
3849
3849
### ` buf.latin1Write(string[, offset[, length]]) `
3850
3850
3851
3851
* ` string ` {string} String to write to ` buf ` .
3852
- * ` offset ` {integer} Number of bytes to skip before starting to write
3852
+ * ` offset ` {integer} Number of bytes to skip before starting to write
3853
3853
` string ` . ** Default** : 0.
3854
3854
* ` length ` {integer} Maximum number of bytes to write. ** Default** : `buf.
3855
3855
length - offset`.
@@ -3883,7 +3883,7 @@ console.log(bytesWritten);
3883
3883
### ` buf.utf8Write(string[, offset[, length]]) `
3884
3884
3885
3885
* ` string ` {string} String to write to ` buf ` .
3886
- * ` offset ` {integer} Number of bytes to skip before starting to write
3886
+ * ` offset ` {integer} Number of bytes to skip before starting to write
3887
3887
` string ` . ** Default** : 0.
3888
3888
* ` length ` {integer} Maximum number of bytes to write. ** Default** : `buf.
3889
3889
length - offset`.
0 commit comments