Panda3D
|
An input stream object that uses zlib to compress (deflate) data to another destination stream on-the-fly. More...
Public Member Functions | |
__init__ () | |
__init__ (Ostream dest, bool owns_dest, int compression_level) | |
OCompressStream | close () |
Resets the ZStream to empty, but does not actually close the dest ostream unless owns_dest was true. More... | |
OCompressStream | open (Ostream dest, bool owns_dest, int compression_level) |
![]() | |
flush () | |
put (char c) | |
seekp (Ios::Streamoff off, IosBase::Seekdir dir) | |
seekp (Ios::Streampos pos) | |
Ios::Streampos | tellp () |
![]() | |
bool | bad () |
clear () | |
bool | eof () |
bool | fail () |
bool | good () |
Additional Inherited Members | |
![]() | |
enum | Openmode |
enum | Seekdir { beg = 0, cur = 1, end = 2 } |
An input stream object that uses zlib to compress (deflate) data to another destination stream on-the-fly.
Attach an OCompressStream to an existing ostream that will accept compressed data, and write your uncompressed source data to the OCompressStream.
Seeking is not supported.
__init__ | ( | ) |
__init__ | ( | Ostream | dest, |
bool | owns_dest, | ||
int | compression_level | ||
) |
OCompressStream close | ( | ) |
Resets the ZStream to empty, but does not actually close the dest ostream unless owns_dest was true.
OCompressStream open | ( | Ostream | dest, |
bool | owns_dest, | ||
int | compression_level | ||
) |