MCPcopy Create free account
hub / github.com/WinterTC55/iter-streams / writev

Method writev

src/types.ts:226–226  ·  view source on GitHub ↗

Write multiple chunks atomically. All-or-nothing. Returns true/false like write().

(chunks: (Uint8Array | string)[])

Source from the content-addressed store, hash-verified

224
225 /** Write multiple chunks atomically. All-or-nothing. Returns true/false like write(). */
226 writev(chunks: (Uint8Array | string)[]): boolean;
227
228 /** Signal end of stream. Returns total bytes written. Throws TypeError if already closed/errored. */
229 end(): number;

Callers

nothing calls this directly

Implementers 6

SyncMemoryWritersamples/util.ts
MockSyncWriterbenchmarks/10-advanced-features.ts
MemoryWritersamples/util.ts
BroadcastWritersrc/broadcast.ts
PushWritersrc/push.ts
MockWriterbenchmarks/10-advanced-features.ts

Calls

no outgoing calls

Tested by

no test coverage detected