File tree 1 file changed +8
-6
lines changed
1 file changed +8
-6
lines changed Original file line number Diff line number Diff line change @@ -3783,14 +3783,16 @@ console.log(bytesWritten);
3783
3783
### ` buf.base64urlWrite(string[, offset[, length]]) `
3784
3784
3785
3785
* ` string ` {string} String to write to ` buf ` .
3786
- * ` offset ` {integer} Number of bytes to skip before starting to write ` string ` . ** Default** : 0.
3787
- * ` length ` {integer} Maximum number of bytes to write. ** Default** : ` buf.length - offset ` .
3786
+ * ` offset ` {integer} Number of bytes to skip before starting to write ` string ` .
3787
+ ** Default** : 0.
3788
+ * ` length ` {integer} Maximum number of bytes to write.
3789
+ ** Default** : ` buf.length - offset ` .
3788
3790
* Returns: {integer} The number of bytes written.
3789
3791
3790
- Writes ` string ` to ` buf ` at ` offset ` according to the base64url character encoding
3791
- and returns the number of bytes written. If ` buf ` did not contain enough space
3792
- to fit the entire string, only part of ` string ` will be written. However,
3793
- partially encoded characters will not be written.
3792
+ Writes ` string ` to ` buf ` at ` offset ` according to the base64url character
3793
+ encoding and returns the number of bytes written. If ` buf ` did not contain
3794
+ enough space to fit the entire string, only part of ` string ` will be written.
3795
+ However, partially encoded characters will not be written.
3794
3796
3795
3797
In most cases, ` buf.write ` is preferable, especially if ` encoding ` is variable.
3796
3798
You can’t perform that action at this time.
0 commit comments