33 #include <Pt/StreamBuffer.h>
37 typedef struct z_stream_s z_stream;
60 void attach(std::ios& target);
76 void reset(std::ios& target);
86 std::streamsize
import(std::streamsize maxImport = 0);
88 std::streamsize
import(
const char* data, std::streamsize size);
92 virtual std::streamsize showmanyc();
95 virtual std::streamsize showfull();
101 virtual int_type underflow();
104 virtual int_type overflow(int_type ch);
107 void inflateBuffer();
113 static const int _pbmax = 4;
114 static const int _bufmax = 1024;
117 static const int _zbufmax = 1024;
118 char _zbuf[_zbufmax];
124 #endif // PT_ZBUFFER_H
Buffer for input and output streams.
Definition: StreamBuffer.h:51
Stream buffer for zlib compression.
Definition: ZBuffer.h:43