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

Method readSync

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

* Synchronously read from the file into an array buffer (`p`). * * Returns either the number of bytes read during the operation or EOF * (`null`) if there was nothing more to read. * * It is possible for a read to successfully return with `0` bytes. This * does not indicate EOF.

(p: Uint8Array)

Source from the content-addressed store, hash-verified

340 * ```
341 */
342 readSync(p: Uint8Array): number | null;
343 /**
344 * Set TTY to be under raw mode or not. In raw mode, characters are read and
345 * returned as is, without being processed. All special processing of

Callers 3

readSyncMethod · 0.65

Implementers 1

NodeFsFilefs/_node_fs_file.ts

Calls

no outgoing calls

Tested by

no test coverage detected