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

Method writeSync

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

Writes `p.byteLength` bytes from `p` to the underlying data * stream. It returns the number of bytes written from `p` (`0` <= `n` * <= `p.byteLength`) and any error encountered that caused the write to * stop early. `writeSync()` must throw a non-null error if it returns `n` < * `p.byteL

(p: Uint8Array)

Source from the content-addressed store, hash-verified

93 * Implementations should not retain a reference to `p`.
94 */
95 writeSync(p: Uint8Array): number;
96}
97
98/**

Callers 7

updateFrameMethod · 0.65
stopMethod · 0.65
askForCursorPositionSyncFunction · 0.65
handlePromptSelectFunction · 0.65
getCursorRowFunction · 0.65
promptSecretFunction · 0.65
writeAllSyncFunction · 0.65

Implementers 2

Bufferio/buffer.ts
NodeFsFilefs/_node_fs_file.ts

Calls

no outgoing calls

Tested by

no test coverage detected