Closed albertoortiz closed 3 years ago
seems like after adding
flate2 = { version="1.0.20", features = ["zlib"], default-features = false}
there are no more problems with compressing/decompressing sizes.
Thank you
You need to use write_all
to guarantee that all input is written, or use the return value from the write call to continue writing until everything is done.
thank you!
**flate2 = "1.0.20"
rust 1.49.0**
The error happens with protobuf messages of size bigger of 123,743 bytes (more or less). When the message is compressed, after decompressed is impossible to build the protobuf message.
These are my functions:
Used like:
There is no problem moving these messages in/out Aerospike without compression. Any idea? Thank you