what algorithm does "mszip" use?
-
Tuesday, May 15, 2012 12:16 PM
Hello all,
I wrote a program to poll data from server, to reduce the size of package, I compress the data at server using java.util.zip, and it use DEFLATED algorithm. But I failed to decompress it by using Windows.Storage.Compression.Decompressor(). Do they use different algorithm, or Decompressor cann't use for decompress data from server?
All Replies
-
Wednesday, May 16, 2012 7:05 AMModerator
Hello,
I would suggest you write the java.util.zip result into a file and try to use this sample code to decompressor this file to see if it problem still exist.
Best regards,
Jesse
Jesse Jiang [MSFT]
MSDN Community Support | Feedback to us
-
Wednesday, May 16, 2012 7:36 AM
Hi Jesse,
Thank you for your reply. But I must decompress data in WinRT component using c++. Is there any other method?
-
Thursday, May 17, 2012 12:57 AMModerator
Hello Haaaappy,
The following algorithms can be used by the Windows.Storage.Compression.Decompressor:
Mszip | mszip - The compressor will use the MSZIP compression algorithm.
Xpress | xpress - The compressor will use the XPRESS compression algorithm.
XpressHuff | xpressHuff - The compressor will use the XPRESS compression algorithm with Huffman encoding.
Lzms | lzms - The compressor will use the LZMS compression algorithm.CompressAlgorithm enumeration
http://msdn.microsoft.com/en-us/library/windows/apps/windows.storage.compression.compressalgorithm.aspxI hope this helps,
James
Windows Media SDK Technologies - Microsoft Developer Services - http://blogs.msdn.com/mediasdkstuff/
- Proposed As Answer by James Dailey - MSFTMicrosoft Employee, Moderator Thursday, May 17, 2012 12:58 AM
- Marked As Answer by Bob_BaoMVP, Moderator Tuesday, June 12, 2012 6:20 AM


