Skip to content

Commit 69433b7

Browse files
committed
doc: forgot two trailing spaces
1 parent 85c958f commit 69433b7

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

doc/api/buffer.md

+8-6
Original file line numberDiff line numberDiff line change
@@ -3783,14 +3783,16 @@ console.log(bytesWritten);
37833783
### `buf.base64urlWrite(string[, offset[, length]])`
37843784

37853785
* `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`.
37883790
* Returns: {integer} The number of bytes written.
37893791

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.
37943796

37953797
In most cases, `buf.write` is preferable, especially if `encoding` is variable.
37963798

0 commit comments

Comments
 (0)