compressPlaceable

open override fun compressPlaceable(src: ByteArray, dst: ByteArray, dstOffset: Int = 0): Int

从 dstOffset 开始写入压缩数据,返回实际写入长度,未使用的区域保持不变。 src 与 dst 不能是同一个数组;异常发生时 dst 可能已被部分写入。

Throws

数组相同或目标偏移无效。

目标数组的剩余容量不足。