Compressing/decompressing
Akka Stream contains support for compressing and decompressing streams of ByteString elements.
Use ScalaDSL Compression or JavaDSL Compression as described in the Akka Stream documentation:
The source code for this page can be found here.