use-strict / 7z-wasm

7-Zip for JavaScript environments, compiled to WASM
Other
109 stars 7 forks source link

How to store blob or variable values directly to 7z? #13

Closed Realistic3D closed 1 year ago

Realistic3D commented 1 year ago

Hi, I want to know weather or not it is possible to store binary files (octet-stream) or blob directly to SevenZip? I mean not file system, from variable to SevenZip

use-strict commented 1 year ago

No, it's not possible. Think of it as calling an external program. You either pass it a filename as input and it reads it from the filesystem or feed it characters from stdin instead.