Commit 3f7e88a8 authored by Ben Noordhuis's avatar Ben Noordhuis Committed by isaacs
Browse files

buffer: accept negative indices in Buffer#slice()

A negative start or end parameter now indexes from the end of the
buffer. More in line with String#slice() and ArrayBuffer#slice().
parent 27893239
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment