joyent/node — pull request #4763 by bnoordhuis (2013-02-12 14:15:45+00:00)
Title: 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().

TBD: Update Buffer#toString() as well?

Reviewers: @isaacs @trevnorris