GZIPOutputStream Members

GZIPOutputStream Members

Class Overview | This Package | All Packages

Fields
Name Description
crc CRC-32 of uncompressed data.

Constructors
Name Description
GZIPOutputStream(OutputStream) Creates a new output stream with a default buffer size.
GZIPOutputStream(OutputStream, int) Creates a new output stream with the specified buffer size.

Methods
Name Description
close() Writes remaining compressed data to the output stream and closes the underlying stream.
finish() Finishes writing compressed data to the output stream without closing the underlying stream.
write(byte[], int, int) Writes array of bytes to the compressed output stream.