Home | All Classes | Grouped Classes | Index | Search

Class CL_InputSource_Zipped

Zlib compressed input source. More...

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

#include <ClanLib/core.h>

Construction:

CL_InputSource_Zipped

Starts reading zipped input from the specified input source.

Attributes:

tell

Returns current position in input source.

size

Returns the size of the input source

Operations:

read

Reads larger amounts of data (no endian and 64 bit conversion).

open

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

close

Closes the input source.

clone

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

seek

Seeks to the specified position in the input source.

push_position

Pushes the current input source position.

pop_position

Pops a previous pushed input source position (returns to the position).

Detailed description:

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

CL_InputSource_Zipped provides read access to gzip compressed source files and handles endianess internally.



Questions or comments, write to the
ClanLib mailing list.