com.jcraft.jzlib
public class ZOutputStream extends OutputStream
| Field Summary | |
|---|---|
| protected byte[] | buf |
| protected byte[] | buf1 |
| protected int | bufsize |
| protected boolean | compress |
| protected int | flush |
| protected OutputStream | out |
| protected ZStream | z |
| Constructor Summary | |
|---|---|
| ZOutputStream(OutputStream out) | |
| ZOutputStream(OutputStream out, int level) | |
| ZOutputStream(OutputStream out, int level, boolean nowrap) | |
| Method Summary | |
|---|---|
| void | close() |
| void | end() |
| void | finish() |
| void | flush() |
| int | getFlushMode() |
| long | getTotalIn()
Returns the total number of bytes input so far. |
| long | getTotalOut()
Returns the total number of bytes output so far. |
| void | setFlushMode(int flush) |
| void | write(int b) |
| void | write(byte[] b, int off, int len) |