bun
bun copied to clipboard
Buffer#slice incorrectly handles the start = end = 0 case
Repro on 0.1.6:
console.log(new Buffer(3).slice(0,0).length);
Node prints 0 while Bun prints 3. When start and end are equal, it should be returning a zero-length Buffer.