Home | All Classes | Grouped Classes | Index | Search

Class CL_OutputSource_Zipped

Zlib compressed output source. More...

Derived from: CL_OutputSource
Derived by: none
Group: Core (I/O Data)

#include <ClanLib/core.h>

Construction:

CL_OutputSource_Zipped

Constructs an output source that zips the data and passes it on to the passed output source.

Attributes:

tell

Returns current position in output source.

size

Returns the size of the output source

Operations:

write

Writes larger amounts of data (no endian and 64 bit conversion):

open

Opens the output source. By default, it is open.

close

Closes the output source.

clone

Make a copy of the current outputsource, standing at the same position.

Detailed description:

!group=Core/IO Data! !header=core.h!

CL_OutputSource_Zipped_Generic provides write access to compress files while internally dealing with endianess.

CL_OutputSource_Zipped_Generic should not be instantiated directly, but rather CL_OutputSourceProvider should create the appropriate output source.



Questions or comments, write to the
ClanLib mailing list.