BrotliCompressor

akka.stream.io.compression.brotli.BrotliCompressor
See theBrotliCompressor companion object
class BrotliCompressor(level: Int)

Attributes

Companion
object
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

final override def close(): Unit

Make sure any resources have been released

Make sure any resources have been released

Attributes

Definition Classes
Compressor
final override def compress(input: ByteString): ByteString

Compresses the given input and returns compressed data. The implementation can and will choose to buffer output data to improve compression. Use flush or compressAndFlush to make sure that all input data has been compressed and pending output data has been returned.

Compresses the given input and returns compressed data. The implementation can and will choose to buffer output data to improve compression. Use flush or compressAndFlush to make sure that all input data has been compressed and pending output data has been returned.

Attributes

Definition Classes
Compressor
final override def compressAndFinish(input: ByteString): ByteString

Combines compress + finish

Combines compress + finish

Attributes

Definition Classes
Compressor
final override def compressAndFlush(input: ByteString): ByteString

Combines compress + flush

Combines compress + flush

Attributes

Definition Classes
Compressor
final override def finish(): ByteString

Closes this compressed stream and return the remaining compressed data. After calling this method, this Compressor cannot be used any further.

Closes this compressed stream and return the remaining compressed data. After calling this method, this Compressor cannot be used any further.

Attributes

Definition Classes
Compressor
final override def flush(): ByteString

Flushes any output data and returns the currently remaining compressed data.

Flushes any output data and returns the currently remaining compressed data.

Attributes

Definition Classes
Compressor

Concrete fields

val buffer: ListBuffer[ByteString]
val params: Parameters