« Previous | Next » 

Revision 3f7e88a8

ID3f7e88a852afe54253eb93ddcb0fdf3a88b9f4ec
Parent 27893239
Child b1b7b4e4

Added by Ben Noordhuis over 11 years ago

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().

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences