ashes999
ashes999

Reputation: 10163

C#/Android Compatible Compression Algorithm

I have a lot of plain-text content (English). I have a C# tool for creating the content, and it will be consumed in an Android app.

I need, therefore, to know my options for compression algorithms. What library can I use to compress/decompress, where I can compress in C# and decompress in Java?

I'm looking at probably 1-2MB of uncompressed text (at least), so it's definitely worth it to compress it.

Upvotes: 0

Views: 589

Answers (1)

Daniel Pereira
Daniel Pereira

Reputation: 1785

You should be able to zip in C# using something like this and unzip with this. GZIP format should do the trick.

Upvotes: 1

Related Questions