public class Compression$
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static Compression$ |
MODULE$
Static reference to the singleton instance of this Scala object.
|
Constructor and Description |
---|
Compression$() |
Modifier and Type | Method and Description |
---|---|
Flow<ByteString,ByteString,NotUsed> |
gunzip(int maxBytesPerChunk)
Creates a Flow that decompresses gzip-compressed stream of data.
|
Flow<ByteString,ByteString,NotUsed> |
inflate(int maxBytesPerChunk)
Creates a Flow that decompresses deflate-compressed stream of data.
|
public static final Compression$ MODULE$
public Flow<ByteString,ByteString,NotUsed> gunzip(int maxBytesPerChunk)
maxBytesPerChunk
- Maximum length of the output ByteString
chunk.public Flow<ByteString,ByteString,NotUsed> inflate(int maxBytesPerChunk)
maxBytesPerChunk
- Maximum length of the output ByteString
chunk.