FixedDeflaterOutputStream

class FixedDeflaterOutputStream(stream: OutputStream) : DeflaterOutputStream

Wrapper class around a DeflaterOutputStream correctly handling closing of the current stream

Constructors

Link copied to clipboard
fun FixedDeflaterOutputStream(stream: OutputStream)

Functions

Link copied to clipboard
open override fun close()

Close the underlying stream and deflater

Link copied to clipboard
open fun deflate()
Link copied to clipboard
open fun finish()
Link copied to clipboard
open override fun flush()
Link copied to clipboard
open override fun write(p0: ByteArray)
open override fun write(p0: Int)
open override fun write(p0: ByteArray, p1: Int, p2: Int)

Properties

Link copied to clipboard
val buf: ByteArray
Link copied to clipboard
val def: Deflater
Link copied to clipboard
val out: OutputStream
Link copied to clipboard
val usesDefaultDeflater: Boolean