Code to wrap zlib compression/decompression around an IOChannel stream. More...
Functions | |
| std::auto_ptr< IOChannel > | make_inflater (std::auto_ptr< IOChannel > in) |
| Returns a read-only IOChannel stream that inflates the remaining content of the given input stream, as you read data from the new stream. | |
| IOChannel * | make_deflater (IOChannel *out) |
| Returns a write-only IOChannel stream that deflates the remaining content of the given input stream. | |
Code to wrap zlib compression/decompression around an IOChannel stream.
| DSOEXPORT IOChannel * gnash::zlib_adapter::make_deflater | ( | IOChannel * | out | ) |
Returns a write-only IOChannel stream that deflates the remaining content of the given input stream.
TODO: take and return by auto_ptr
| DSOEXPORT std::auto_ptr< IOChannel > gnash::zlib_adapter::make_inflater | ( | std::auto_ptr< IOChannel > | ) |
Returns a read-only IOChannel stream that inflates the remaining content of the given input stream, as you read data from the new stream.
Referenced by gnash::SWFMovieDefinition::readHeader().
1.7.1