Skip to content

question: similar module, but for handling binary data streams? #173

@AVVS

Description

@AVVS

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions