locked
what algorithm does "mszip" use?

    Question

  • 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?

    Tuesday, May 15, 2012 12:16 PM

Answers

  • 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.aspx

    I hope this helps,

    James


    Windows Media SDK Technologies - Microsoft Developer Services - http://blogs.msdn.com/mediasdkstuff/

    Thursday, May 17, 2012 12:57 AM
    Moderator

All replies