|
-
Nov 26th, 2008, 03:26 AM
#1
Thread Starter
Hyperactive Member
Byte Array Compression (Zlib?)
Hello all, I've been trying to compress a byte array, ranging from a few hundred bytes, to a couple thousand or so.
I've been trying to use Zlib's compress functions, but it randomly completely crashes the IDE, and when i say random, i mean COMPLETE randomness, the array can be full of the normal data, or even full of 0's, and it still crashes everything.
But when it DOES work, it works quite well, but its just too unstable to actually use
Basically I have an array of bytes, say 1000, and i need to compress it down to a much more smaller size to send over a tcp connection, any ideas??
::Oh, and even it doesnt seem to crash the IDE, it seems to infect it, and it will randomly crash at a later time, even if its just sitting there, mouse not even moving, so it may be leaking or something somewhere.
Last edited by Teseng; Nov 26th, 2008 at 03:31 AM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|