Deno: Rewrite Deno.readFile and Deno.writeFile to use more primitive ops

Created on 23 Mar 2019  路  3Comments  路  Source: denoland/deno

Should be a simple fix - perhaps using Buffer for readFile.

Sync versions should be done too.

At the end the readFile and writeFile ops should be removed completely from cli/msg.fbs

Most helpful comment

@bartlomieju No - implement them as a series of read and write ops. This should be a pure TS patch.

open/read/write/close

All 3 comments

I'm working on it

@ry just so we're on the same page, we want to rework readFile and writeFile to use shared queue rather than old way with flatbuffers?

@bartlomieju No - implement them as a series of read and write ops. This should be a pure TS patch.

open/read/write/close

Was this page helpful?
0 / 5 - 0 ratings

Related issues

amiteshore picture amiteshore  路  3Comments

justjavac picture justjavac  路  3Comments

kitsonk picture kitsonk  路  3Comments

xueqingxiao picture xueqingxiao  路  3Comments

CruxCv picture CruxCv  路  3Comments