Home
last modified time | relevance | path

Searched refs:readOptions (Results 1 – 3 of 3) sorted by relevance

/ohos5.0/docs/zh-cn/application-dev/file-management/
H A Dapp-file-access.md68 let readOptions: ReadOptions = {
73 let readLen = fs.readSync(file.fd, arrayBuffer, readOptions);
103 let readOptions: ReadOptions = {
107 let readLen = fs.readSync(srcFile.fd, buf, readOptions);
114 readOptions.offset = readSize;
115 readLen = fs.readSync(srcFile.fd, buf, readOptions);
149 let readOptions: ReadOptions = {
154 let readLen = await inputStream.read(buf, readOptions);
159 readOptions.offset = readSize;
160 readLen = await inputStream.read(buf, readOptions);
/ohos5.0/base/hiviewdfx/hichecker/interfaces/js/kits/napi/js_leak_watcher/
H A Djs_leak_watcher.js74 let readOptions = { class in getHeapDumpSHA256
78 let readLen = fs.readSync(heapDumpFile.fd, buf, readOptions);
83 readOptions.offset = readSize;
84 readLen = fs.readSync(heapDumpFile.fd, buf, readOptions);
/ohos5.0/docs/en/application-dev/file-management/
H A Dapp-file-access.md67 let readOptions: ReadOptions = {
71 let readLen = fs.readSync(file.fd, arrayBuffer, readOptions);
100 let readOptions: ReadOptions = {
104 let readLen = fs.readSync(srcFile.fd, buf, readOptions);
111 readOptions.offset = readSize;
112 readLen = fs.readSync(srcFile.fd, buf, readOptions);
145 let readOptions: ReadOptions = {
149 let readLen = await inputStream.read(buf, readOptions);
154 readOptions.offset = readSize;
155 readLen = await inputStream.read(buf, readOptions);