#2 Re: Low level and performance » LZO and SynLZ compression units » 2012-10-17 19:38:50

Hi, is there a way to determine if (maybe invalid) data can be decompressed with SynLZ without access violation?

Something like

if is_synlzcompressed(str) then
  synlz_decompress(str)
else
  showmessage('invalid data');

Or is

try
  synlz_decompress(str);
except
  showmessage('invalid data');
end;

the only way?

Thanks

Board footer

Powered by FluxBB