Welcome to the Xceed Community | Help
Community Search  
More Search Options

Silverlight compression giving a different byte stream

Sort Posts: Previous Next
  •  12-09-2011, 8:05 AM Post no. 31439

    Silverlight compression giving a different byte stream

    Hi,

    I've used 2 different compression classes, one for .NET and one for Silverlight as follows:

    //------------------.NET--------------------

    XCeedZipLib.XceedCompressionClass.Compress()

    compression method=Deflated

    compression level=medium

    //---------------------------------------------

    //-----------Silverlight--------------------------

    XCeed.Compression.Formats.XCeedCompressedStream.Compress()

    compression method=Deflated

    compression level=normal

    //-------------------------------------------------

    However, the resulting byte stream with these two methods differ.  The number of bytes are same, but the last 2 bytes are different. 

    Our requirement is to have the Silverlight compressed byte stream same as the .NET version.

    Why are the two resultant compressed streams different and how do i ensure that the Silverlight version should be the same as the .NET version?

     

    Any help would be appreciated.

    Thanks and regards,

    Filed under:
  •  12-11-2011, 10:23 PM Post no. 31446 in reply to 31439

    Re: Silverlight compression giving a different byte stream

    Hi,

    Can anyone point me in the right direction? Or else some other forum which could help me?

    Thanks and regards.

View as RSS news feed in XML
Contact | Site Map | Reviews | Legal Terms of Use | Trademarks | Privacy Statement Copyright 2011 Xceed Software Inc.