You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Recently was playing around and tried to get this to write compressed files, which, obviously, did not work as utf8 input is expected. Would anyone be able to point me in the right direction?
Currently the best thing i have is a simple pipeline of zlib.create[compressor of choice] -> fs.createWriteStream, but it doesn't perform any sophisticated fs error handling, data buffering for more efficient writes, etc.
In case there is nothing better than the naive approach mentioned - would it be worth spending time to try and add support for binary data being written here or is it out of scope of the project?
The text was updated successfully, but these errors were encountered:
Love the module <3
Recently was playing around and tried to get this to write compressed files, which, obviously, did not work as
utf8
input is expected. Would anyone be able to point me in the right direction?Currently the best thing i have is a simple pipeline of zlib.create[compressor of choice] -> fs.createWriteStream, but it doesn't perform any sophisticated fs error handling, data buffering for more efficient writes, etc.
In case there is nothing better than the naive approach mentioned - would it be worth spending time to try and add support for binary data being written here or is it out of scope of the project?
The text was updated successfully, but these errors were encountered: