Data Compression

Blitz3D Forums/Blitz3D Programming/Data Compression

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

Yep, several ways...

one way is Phil Newtons Blitz ZipAPI libray, found here:
http://www.sodaware.net/dev/blitz/libs/blitz.zipapi/

That's a complete implementation, however if you need just the compress/decompress routines you can use simpler functions, and zlib is very fast for smaller chunks of data... (I can provide if you need)

Another trick to use for sending simple variables (if you send a lot of boolean variables) is to pack them into one byte as 8 bitflags.