Tuesday, May 15, 2012 12:16 PM
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?
Wednesday, May 16, 2012 7:05 AMModerator
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.
Jesse Jiang [MSFT]
MSDN Community Support | Feedback to us
Wednesday, May 16, 2012 7:36 AM
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
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.
I hope this helps,
Windows Media SDK Technologies - Microsoft Developer Services - http://blogs.msdn.com/mediasdkstuff/