Panda3D
|
An input stream object that uses zlib to decompress (inflate) the input from another source stream on-the-fly. More...
Public Member Functions | |
__init__ () | |
__init__ (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. More... | |
IDecompressStream | open (Istream source, bool owns_source) |
![]() | |
int | get () |
seekg (Streamoff pos) | |
seekg (Streamoff off, IosBase::Seekdir dir) | |
Streamoff | tellg () |
![]() | |
bool | bad () |
clear () | |
bool | eof () |
bool | fail () |
bool | good () |
Additional Inherited Members | |
![]() | |
enum | Iostate |
enum | Openmode |
enum | Seekdir { beg = 0, cur = 1, end = 2 } |
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.
__init__ | ( | ) |
__init__ | ( | 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 | ||
) |