Creates a pass-through stream that can be added to ZIP archives
The filename to associate with this data stream
Processes a chunk and pushes to the output stream. You can override this method in a subclass for custom behavior, but by default this passes the data through. You must call this.ondata(err, chunk, final) at some point in this method.
The chunk to process
Whether this is the last chunk
Pushes a chunk to be added. If you are subclassing this with a custom compression algorithm, note that you must push data from the source file only, pre-compression.
The chunk to push
Whether this is the last chunk
Generated using TypeDoc
A pass-through stream to keep data uncompressed in a ZIP archive.