Download Reference Manual
The Developer's Library for D
About Wiki Forums Source Search Contact

tango.io.protocol.Writer + tango.io.compress.BzipStream

Moderators: larsivi kris

Posted: 05/19/08 15:09:45 Modified: 05/19/08 15:11:30

I'm trying to instantiate a Writer with a BzipOutput? as its parameter, but when I use the Writer, it doesn't write compressed data, but instead it writes the same file that it did when I was using a simple FileConduit?.output.

http://paste.dprogramming.com/dpg35zd3

I'd like to write compressed data without having to directly use BzipOutput?.write. That's a low-level function and very messy to deal with. I'm hoping there is some way to use one of the other classes as a wrapper around BzipOutput? and Input.

And of course, Reader + BzipInput? has the same problem.

There are no responses to display.