Plugin Developer Discussion

Discussion for FogBugz Plugin developers

Using zlib to compress and decompress data

Hi,
is there a library installed with FogBugz that implements the zlib's inflate and deflate algorithms?
I would like to call those methods from my plugin.

Thanks
Marco
Marco Botton Send private email
Monday, June 14, 2010
 
 
Hi Marco-
Would System.IO.Compression or FogCreek.Utilities.StringUtil.Deflate do the trick for you?
Thanks!
Brett
Brett Kiefer Send private email
Monday, June 14, 2010
 
 
Hi Marco-
Would System.IO.Compression or FogCreek.Utilities.StringUtil.Deflate do the trick for you?
Thanks!
Brett

Hi Brett,
System.IO.Compression is not good enough because it works with Gzip format, while I need precisely Zlib format. The algorithm is the same but the compressed binary data will be different.

FogCreek.Utilities.StringUtil.Deflate sounds interesting: where can I read some docs about it?

Thanks
Marco
Marco Botton Send private email
Tuesday, June 15, 2010
 
 
Hi Marco-
Our StringUtil is based on System.IO.Compression, so won't work for you. It looks like there's a BSD-licensed all-C# zlib at http://www.componentace.com/zlib_.NET.htm - might that work?
Thanks!
Brett
Brett Kiefer Send private email
Wednesday, June 16, 2010
 
 
Well, I have to tell my secrets... :-)
I already found that library, but I was looking for something that does not require to be mentioned in the copyright info of the plugin.

It seems there are no alternatives, then probably we will choose that one.

Thank you for the search!

Ciao
Marco
Marco Botton Send private email
Friday, June 18, 2010
 
 

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics
 
Powered by FogBugz