All Implemented Interfaces:
Closeable, Flushable, AutoCloseable

  • Field Summary

    Fields

    CRC-32 of uncompressed data.

  • Constructor Summary

    Constructors

    Creates a new output stream with a default buffer size.

    Creates a new output stream with a default buffer size and the specified flush mode.

    Creates a new output stream with the specified buffer size.

    Creates a new output stream with the specified buffer size and flush mode.

  • Method Summary

    void

    finish()

    Finishes writing compressed data to the output stream without closing the underlying stream.

    void

    write(byte[] buf, int off, int len)

    Writes array of bytes to the compressed output stream.

  • Field Details

    • crc

  • Constructor Details

    • GZIPOutputStream

    • GZIPOutputStream

    • GZIPOutputStream

    • GZIPOutputStream

  • Method Details

    • write

    • finish