(chunk, options)
| 531 | } |
| 532 | |
| 533 | write(chunk, options) { |
| 534 | // Fast path: no signal, writer open, buffer has space |
| 535 | if (this.#canUseWriteFastPath(options)) { |
| 536 | const converted = toUint8Array(chunk); |
| 537 | this.#broadcast[kWrite]([converted]); |
| 538 | this.#totalBytes += TypedArrayPrototypeGetByteLength(converted); |
| 539 | return kResolvedPromise; |
| 540 | } |
| 541 | return this.#writevSlow([chunk], options); |
| 542 | } |
| 543 | |
| 544 | writev(chunks, options) { |
| 545 | if (!ArrayIsArray(chunks)) { |
no test coverage detected