Skip to content

Commit

Permalink
doc: buffer: fix typo on Buffer.copyBytesFrom( offset option
Browse files Browse the repository at this point in the history
PR-URL: nodejs#57015
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
  • Loading branch information
tpoisseau authored and acidiney committed Feb 23, 2025
1 parent 590cb13 commit 19cc0eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/api/buffer.md
Original file line number Diff line number Diff line change
Expand Up @@ -1098,7 +1098,7 @@ added:
-->

* `view` {TypedArray} The {TypedArray} to copy.
* `offset` {integer} The starting offset within `view`. **Default:**: `0`.
* `offset` {integer} The starting offset within `view`. **Default:** `0`.
* `length` {integer} The number of elements from `view` to copy.
**Default:** `view.length - offset`.
* Returns: {Buffer}
Expand Down

0 comments on commit 19cc0eb

Please # to comment.