joyent/node — Issue #1912: Buffer.fill, limits by (start, end), not (offset, length)
Author: razorg
Created: 2011-10-19 18:42:41+00:00
State: open

Docs specify that Buffer.fill works like that:

Buffer.fill(value, offset=0, length=-1)

But on the sources it is like this:

Buffer.fill(value, offset=0, end=buffer.length)

I guess the docs should be corrected.
Right?