compress

fun Codec.compress(source: RawSource): ByteArray

Compress all bytes drained from source.