ZTransducerPlatformSpecificConstructors

class Object
trait Matchable
class Any
object ZTransducer.type

Value members

Concrete methods

def deflate(bufferSize: Int, noWrap: Boolean, level: CompressionLevel, strategy: CompressionStrategy, flushMode: FlushMode): ZTransducer[Any, Nothing, Byte, Byte]

Compresses stream with 'deflate' method described in https://tools.ietf.org/html/rfc1951. Each incoming chunk is compressed at once, so it can utilize thread for long time if chunks are big.

Compresses stream with 'deflate' method described in https://tools.ietf.org/html/rfc1951. Each incoming chunk is compressed at once, so it can utilize thread for long time if chunks are big.

Value parameters:
bufferSize

Size of internal buffer used for pulling data from deflater, affects performance.

noWrap

Whether output stream is wrapped in ZLIB header and trailer. For HTTP 'deflate' content-encoding should be false, see https://tools.ietf.org/html/rfc2616.

Decompresses gzipped stream. Compression method is described in https://tools.ietf.org/html/rfc1952.

Decompresses gzipped stream. Compression method is described in https://tools.ietf.org/html/rfc1952.

Value parameters:
bufferSize

Size of buffer used internally, affects performance.

def gzip(bufferSize: Int, level: CompressionLevel, strategy: CompressionStrategy, flushMode: FlushMode): ZTransducer[Any, Nothing, Byte, Byte]
Value parameters:
bufferSize

Size of buffer used internally, affects performance.

def inflate(bufferSize: Int, noWrap: Boolean): ZTransducer[Any, CompressionException, Byte, Byte]

Decompresses deflated stream. Compression method is described in https://tools.ietf.org/html/rfc1951.

Decompresses deflated stream. Compression method is described in https://tools.ietf.org/html/rfc1951.

Value parameters:
bufferSize

Size of buffer used internally, affects performance.

noWrap

Whether is wrapped in ZLIB header and trailer, see https://tools.ietf.org/html/rfc1951. For HTTP 'deflate' content-encoding should be false, see https://tools.ietf.org/html/rfc2616.