compress

fun compress(bytes: ByteArray, off: Int, len: Int, out: DataOutput, ht: LZ4.HashTable)

Compress bytes[off:off+len] into out using at most 16kB of memory. ht shouldn't be shared across threads but can safely be reused.