At least in the HTTP context which I am expecting to build up, a byte array primitive would make some sense if we had some sort of "upload a file with multer" experience lined up. It's also helpful in crypto APIs like nermal.
Challenges:
- If this framework applies to frontends it cannot reference
Buffer explicitly, so that leaves UInt8Array, is that acceptable?
- Does
deno have a third mutually inconsistent byte[] type?
- Do I even really want to do this given that at USEng generally the file is some 200+MB PDF or 100MB gzip file containing gigs of JSON? Reading those straight into memory is a Bad Idea, you really want to pass everything through a stream, and a stream just requires a file path which is a string which is a
text.
At least in the HTTP context which I am expecting to build up, a byte array primitive would make some sense if we had some sort of "upload a file with multer" experience lined up. It's also helpful in crypto APIs like
nermal.Challenges:
Bufferexplicitly, so that leavesUInt8Array, is that acceptable?denohave a third mutually inconsistent byte[] type?text.