MCPcopy Create free account
hub / github.com/denoland/std / write

Method write

io/types.ts:79–79  ·  view source on GitHub ↗

Writes `p.byteLength` bytes from `p` to the underlying data stream. It * resolves to the number of bytes written from `p` (`0` <= `n` <= * `p.byteLength`) or reject with the error encountered that caused the * write to stop early. `write()` must reject with a non-null error if * would re

(p: Uint8Array)

Source from the content-addressed store, hash-verified

77 * Implementations should not retain a reference to `p`.
78 */
79 write(p: Uint8Array): Promise<number>;
80}
81/**
82 * An abstract interface which when implemented provides an interface to write

Callers 11

fetchExactPathFunction · 0.65
pooledMapFunction · 0.65
pooledMapSettledFunction · 0.65
#printMethod · 0.65
stopMethod · 0.65
writeAllFunction · 0.65
fillBytesFunction · 0.65
buffer_test.tsFile · 0.65
buffer_test.tsFile · 0.65

Implementers 4

Bufferio/buffer.ts
MockWriterCloserio/to_writable_stream_test.ts
StaticLinecli/unstable_static_line.ts
NodeFsFilefs/_node_fs_file.ts

Calls

no outgoing calls

Tested by

no test coverage detected