MCPcopy Create free account
hub / github.com/alpha0010/react-native-file-access / readFileChunk

Function readFileChunk

src/index.ts:276–283  ·  view source on GitHub ↗

* Read a chunk of the content of a file.

(
    path: string,
    offset: number,
    length: number,
    encoding: Encoding = 'utf8'
  )

Source from the content-addressed store, hash-verified

274 * Read a chunk of the content of a file.
275 */
276 readFileChunk(
277 path: string,
278 offset: number,
279 length: number,
280 encoding: Encoding = 'utf8'
281 ) {
282 return FileAccessNative.readFileChunk(path, offset, length, encoding);
283 },
284
285 /**
286 * Read file metadata.

Callers

nothing calls this directly

Calls 1

readFileChunkMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…