Created
December 18, 2019 15:48
-
-
Save conorgriffin/528696e3d7f1d6503ca8d46147ea10e3 to your computer and use it in GitHub Desktop.
DeflaterOutputStream constructor with default Deflater
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Creates a new output stream with a default compressor and buffer size. | |
* | |
* <p>The new output stream instance is created as if by invoking | |
* the 2-argument constructor DeflaterOutputStream(out, false). | |
* | |
* @param out the output stream | |
*/ | |
public DeflaterOutputStream(OutputStream out) { | |
this(out, false); | |
usesDefaultDeflater = true; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment