Panda3D

- Main Page
- Packages
- Classes

- Class List
- Class Index
- Class Hierarchy
- Class Members

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:

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 | ( |  | ) |

IDecompressStream | ( | istream | source,
|  | bool | owns_source
| ) |  |

## Member Function Documentation

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
| ) |  |

All Classes Namespaces Functions Variables Enumerations Enumerator Properties