Is there a way to find out how large the byte array will be, obtained after serializing the object using Kryo? Or do I need to actually serialize it and then check the length of the array?
For example, with LZ4, before compressing an array of bytes, I can get a binding for the compressed size before compression ...
source
share