* Throws if the handle is closed. * @param {string} syscall The syscall name for the error
(syscall)
| 99 | * @param {string} syscall The syscall name for the error |
| 100 | */ |
| 101 | #checkClosed(syscall) { |
| 102 | if (this[kClosed]) { |
| 103 | throw createEBADF(syscall); |
| 104 | } |
| 105 | } |
| 106 | |
| 107 | /** |
| 108 | * Reads data from the file. |
no test coverage detected