Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Update doc/api/buffer.md
Co-Authored-By: Rich Trott <rtrott@gmail.com>
  • Loading branch information
gfx and Trott authored Jun 11, 2019
commit 54c4949d683411545e4ad4743fdfdf26355647d0
2 changes: 1 addition & 1 deletion doc/api/buffer.md
Original file line number Diff line number Diff line change
Expand Up @@ -1981,7 +1981,7 @@ offset and cropped by the `start` and `end` indices.
This is the same behavior as `buf.subarray()`.

This method is not compatible with the `Uint8Array.prototype.slice()`,
which is a superclass of `Buffer`. If a copy of the slice is needed, use
which is a superclass of `Buffer`. To copy the slice, use
`Uint8Array.prototype.slice()`.

```js
Expand Down