GZippingBinaryCodec

trait GZippingBinaryCodec[A] extends Codec[A]

Mixing this into any Codec will automatically GZip the resulting Byte Array when serialising and handle un-Gzipping when deserialising

trait Codec[A]
class Object
trait Matchable
class Any

Value members

Concrete methods

def decode(data: Array[Byte]): DecodingResult[A]
def encode(value: A): Array[Byte]
protected def sizeThreshold: Int

Size above which data will get compressed

Size above which data will get compressed