class FlushAverseOutputStream : OutputStream
Has an empty flush implementation. This is because Kryo keeps calling flush all the time, which stops the Snappy stream from building up big chunks to compress and instead keeps compressing small chunks giving terrible compression ratio.
<init> |
Has an empty flush implementation. This is because Kryo keeps calling flush all the time, which stops the Snappy stream from building up big chunks to compress and instead keeps compressing small chunks giving terrible compression ratio. FlushAverseOutputStream(delegate: OutputStream) |
close |
fun close(): Unit |
write |
fun write(b: Int): Unitfun write(b: ByteArray, off: Int, len: Int): Unit |