Ruby 3.0.5p211 (2022-11-24 revision ba5cf0f7c52d4d35cc6a173c89eda98ceffa2dcf)
|
#include <zstream.h>
Public Member Functions | |
ozstream () | |
ozstream (FILE *fp, int level=Z_DEFAULT_COMPRESSION) | |
ozstream (const char *name, int level=Z_DEFAULT_COMPRESSION) | |
~ozstream () | |
void | open (const char *name, int level=Z_DEFAULT_COMPRESSION) |
void | open (FILE *fp, int level=Z_DEFAULT_COMPRESSION) |
int | close () |
int | write (const void *buf, size_t len) |
int | flush (int _flush) |
const char * | error (int *errnum) |
gzFile | fp () |
ostream & | os () |
void | os_flush () |
|
inline |
|
inline |
|
inline |
Definition at line 219 of file zstream.h.
References os_flush().
|
inline |
Definition at line 234 of file zstream.h.
Referenced by open(), operator<(), ozstream(), and write().
|
inline |
Definition at line 177 of file zstream.h.
References close(), gzopen(), name, and Z_DEFAULT_COMPRESSION.
Referenced by ozstream().
|
inline |
Definition at line 186 of file zstream.h.
References close(), fileno, fp(), gzdopen(), SET_BINARY_MODE, and Z_DEFAULT_COMPRESSION.
|
inline |
Definition at line 236 of file zstream.h.
Referenced by operator<<().
|
inline |
Definition at line 241 of file zstream.h.
References gzwrite().
Referenced by flush(), and operator<<().