-
-
Notifications
You must be signed in to change notification settings - Fork 33.5k
Closed
Labels
bufferIssues and PRs related to the buffer subsystem.Issues and PRs related to the buffer subsystem.docIssues and PRs related to the documentations.Issues and PRs related to the documentations.wipIssues and PRs that are still a work in progress.Issues and PRs that are still a work in progress.
Description
The documentation for Buffer.slice says this about end:
end Where the new Buffer will end (not inclusive). Default: buf.length
It does not describe what happens if end is greater than the length of the buffer. Does Node return a buffer of length (end - start) with zero values for the extra values? Does it return a shorter buffer? Does it throw a RangeError?
Metadata
Metadata
Assignees
Labels
bufferIssues and PRs related to the buffer subsystem.Issues and PRs related to the buffer subsystem.docIssues and PRs related to the documentations.Issues and PRs related to the documentations.wipIssues and PRs that are still a work in progress.Issues and PRs that are still a work in progress.