Skip to content

Commit caa66db

Browse files
Update fromArray.md
1 parent 2104261 commit caa66db

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docs/reference/buffer/fromArray.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@ Allocates a new buffer from a dynamic array into bytes.
99

1010
## Example
1111
Set an array that have 5 indices into a buffer.
12-
Buffer.create([0, 1, 2, 3, 4])
12+
Buffer.fromArray([0, 1, 2, 3, 4])

0 commit comments

Comments
 (0)