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: #57015
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: Michaël Zasso <[email protected]>
Reviewed-By: Luigi Pinca <[email protected]>
Reviewed-By: James M Snell <[email protected]>
  • Loading branch information
tpoisseau authored and targos committed Feb 17, 2025
1 parent 1efd74b commit 44dd8a5
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 44dd8a5

Please sign in to comment.