Gnash  0.8.11dev
Functions
gnash::zlib_adapter Namespace Reference

Code to wrap zlib compression/decompression around an IOChannel stream. More...

Functions

std::unique_ptr< IOChannelmake_inflater (std::unique_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. More...
 

Detailed Description

Code to wrap zlib compression/decompression around an IOChannel stream.

Function Documentation

§ make_inflater()

DSOEXPORT std::unique_ptr< IOChannel > gnash::zlib_adapter::make_inflater ( std::unique_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.

References gnash::log_debug(), and gnash::log_error().

Referenced by gnash::SWFMovieDefinition::readHeader().