(chunk: Uint8Array)
| 30 | } |
| 31 | |
| 32 | async write (chunk: Uint8Array): Promise<void> { |
| 33 | if (!this.inner) { |
| 34 | throw new Error('File handle is closed') |
| 35 | } |
| 36 | await this.inner.writeAll(chunk) |
| 37 | } |
| 38 | |
| 39 | async close (): Promise<void> { |
| 40 | await this.inner?.shutdown() |
no outgoing calls
no test coverage detected