Panda3D
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties
Public Member Functions
IDecompressStream Class Reference

An input stream object that uses zlib to decompress (inflate) the input from another source stream on-the-fly. More...

Inheritance diagram for IDecompressStream:
istream ios ios_base

List of all members.

Public Member Functions

 IDecompressStream ()
 IDecompressStream (istream source, bool owns_source)
IDecompressStream close ()
 Resets the ZStream to empty, but does not actually close the source istream unless owns_source was true.
IDecompressStream open (istream source, bool owns_source)

Detailed Description

An input stream object that uses zlib to decompress (inflate) the input from another source stream on-the-fly.

Attach an IDecompressStream to an existing istream that provides compressed data, and read the corresponding uncompressed data from the IDecompressStream.

Seeking is not supported.


Constructor & Destructor Documentation

IDecompressStream ( istream  source,
bool  owns_source 
)

Member Function Documentation

Resets the ZStream to empty, but does not actually close the source istream unless owns_source was true.

IDecompressStream open ( istream  source,
bool  owns_source 
)
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties