()
| 2424 | } |
| 2425 | |
| 2426 | function bufReset() { |
| 2427 | buf1.fill(0) |
| 2428 | buf2.fill(0) |
| 2429 | } |
| 2430 | |
| 2431 | // This is mostly accurate. Except write() won't write partial bytes to the |
| 2432 | // string while fill() blindly copies bytes into memory. To account for that an |