Forum ‹ C# ‹ Decompressing byte arrays in C#
3 posts
• Page 1 of 1
Decompressing byte arrays in C#
I was wondering, is there a way to read and decompress a bytearray in C# which was compressed in flash(as3) using the deflate(); function?
So, I'm sending a compressed arrray from client to server, and want to decompress it there and read it's contents.
If anyone knows how to do it, can you please provide me with an code example if it's not a problem.
Thanks a lot,
Karlo
So, I'm sending a compressed arrray from client to server, and want to decompress it there and read it's contents.
If anyone knows how to do it, can you please provide me with an code example if it's not a problem.
Thanks a lot,
Karlo
- GameTwoThree
- Paid Member
- Posts: 11
- Joined: February 28th, 2011, 2:11 am
Re: Decompressing byte arrays in C#
I think it's not possible at the moment. Oliver said in another post (http://playerio.com/forum/post7083) they we're going to whitelist System.Compression namespace, but i don't think it's done yet.
- fox1980
- Posts: 206
- Joined: April 1st, 2010, 10:39 pm
Re: Decompressing byte arrays in C#
System.IO.Compression is whitelisted now, has been for some time
Best,
Oliver
Best,
Oliver
-

Oliver - .IO
- Posts: 1136
- Joined: January 12th, 2010, 8:29 am
3 posts
• Page 1 of 1