0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-09 16:30:37 -05:00

Increase a little bit the compression level of blob encoding.

This commit is contained in:
Andrey Antukh 2021-06-10 15:52:37 +02:00 committed by Alonso Torres
parent 4928f875b3
commit 022d57ef42

View file

@ -108,7 +108,7 @@
cdata (byte-array mlen)
clen (Zstd/compressByteArray ^bytes cdata 0 mlen
^bytes data 0 dlen
4)]
6)]
(with-open [^ByteArrayOutputStream baos (ByteArrayOutputStream. (+ (alength cdata) 2 4))
^DataOutputStream dos (DataOutputStream. baos)]
(.writeShort dos (short 3)) ;; version number