(size, args)
| 2419 | assert.throws(() => buf1.fill('a', 0, 0, 'foo')) |
| 2420 | |
| 2421 | function genBuffer(size, args) { |
| 2422 | const b = Buffer.allocUnsafe(size) |
| 2423 | return b.fill(0).fill.apply(b, args) |
| 2424 | } |
| 2425 | |
| 2426 | function bufReset() { |
| 2427 | buf1.fill(0) |
no test coverage detected