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

Method writeSync

fs/unstable_types.ts:568–568  ·  view source on GitHub ↗

* Synchronously write the contents of the array buffer (`p`) to the file. * * Returns the number of bytes written. * * **It is not guaranteed that the full buffer will be written in a single * call.** * * @example Usage * ```ts ignore * import { openSync } from "@std/fs/un

(p: Uint8Array)

Source from the content-addressed store, hash-verified

566 * ```
567 */
568 writeSync(p: Uint8Array): number;
569}
570
571/** Options when setting TTY to raw mode. */

Callers 5

writeSyncMethod · 0.65
printfFunction · 0.65

Implementers 1

NodeFsFilefs/_node_fs_file.ts

Calls

no outgoing calls

Tested by

no test coverage detected