Panda3D
|
An input stream object that uses zlib to decompress (inflate) the input from another source stream on-the-fly. More...
Public Types | |
enum | openmode |
enum | seekdir { beg = 0, cur = 1, end = 2 } |
Public Member Functions | |
IDecompressStream () | |
IDecompressStream (istream source, bool owns_source) | |
bool | bad () |
clear () | |
IDecompressStream | close () |
Resets the ZStream to empty, but does not actually close the source istream unless owns_source was true. | |
bool | eof () |
bool | fail () |
int | get () |
bool | good () |
IDecompressStream | open (istream source, bool owns_source) |
seekg (long int off, seekdir dir) | |
seekg (unsigned long int pos) | |
unsigned long int | tellg () |
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.
enum openmode [inherited] |
enum seekdir [inherited] |
IDecompressStream | ( | istream | source, |
bool | owns_source | ||
) |
bool bad | ( | ) | [inherited] |
clear | ( | ) | [inherited] |
IDecompressStream close | ( | ) |
Resets the ZStream to empty, but does not actually close the source istream unless owns_source was true.
bool eof | ( | ) | [inherited] |
bool fail | ( | ) | [inherited] |
int get | ( | ) | [inherited] |
bool good | ( | ) | [inherited] |
IDecompressStream open | ( | istream | source, |
bool | owns_source | ||
) |
seekg | ( | unsigned long int | pos | ) | [inherited] |
unsigned long int tellg | ( | ) | [inherited] |