#1 2017-12-13 11:36:21

jaclas
Member
Registered: 2014-09-12
Posts: 215

SynLZ vs other LZ algorithm

Is SynLZ binary compatible with other LZ algorithm? I want to compress files on client and sent to the server (and on server decompress then), but clients will be created not only in Delphi (eg in Java). Is the use of the SynLZ algorithm limited only to Delphi?

Offline

#2 2017-12-13 12:08:22

mpv
Member
From: Ukraine
Registered: 2012-03-24
Posts: 1,571
Website

Re: SynLZ vs other LZ algorithm

SynLZ is proprietary. There is a SynLizard - a LZ5 algorithm (if you have a Java lib for LZ5). Or use a gzip (SynZip) - it will be accepted by any client including browser. As a option you can try to compile a SynLZ as jni target (fpc allow this as far a I know), but IMHO gzip is a better choice.

Last edited by mpv (2017-12-13 12:10:08)

Offline

Board footer

Powered by FluxBB