--- a/epoc32/include/ezdecompressor.h Wed Mar 31 12:27:01 2010 +0100
+++ b/epoc32/include/ezdecompressor.h Wed Mar 31 12:33:34 2010 +0100
@@ -1,9 +1,9 @@
// Copyright (c) 1999-2009 Nokia Corporation and/or its subsidiary(-ies).
// All rights reserved.
// This component and the accompanying materials are made available
-// under the terms of the License "Symbian Foundation License v1.0" to Symbian Foundation members and "Symbian Foundation End User License Agreement v1.0" to non-members
+// under the terms of "Eclipse Public License v1.0"
// which accompanies this distribution, and is available
-// at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
+// at the URL "http://www.eclipse.org/legal/epl-v10.html".
//
// Initial Contributors:
// Nokia Corporation - initial contribution.
@@ -11,7 +11,6 @@
// Contributors:
//
// Description:
-// EZLib: DECOMPRESSOR.H
// Declaration for Decompression class
//
//
@@ -30,6 +29,13 @@
or can be done by repeated calls of the InflateL() function. The source data is de-compressed to the target buffer (both source
and target contained within the buffer manager argument).
+Note: In this version of the library a windowBits value of 8 is unsupported due to a problem with the window size being
+set to 256 bytes. Although a value of 8 will be accepted by the CEZCompressor constructors, as it is being changed
+internally by Zlib from 8 to 9, it will not be possible to use the same value for decompression. This is because the
+Zlib functions called by the CEZDecompressor constructors do not make the same change internally and as a result a
+KEZlibErrData is returned when calling InflateL(). It is therefore advised that for this version of the library
+windowBits of 9 is used in place of 8.
+
@publishedAll
@released
*/
@@ -65,7 +71,7 @@
IMPORT_C TBool InflateL();
IMPORT_C static void DecompressL(TDes8 &aDestination, const TDesC8 &aSource);
-
+
private:
enum TInflationState
{
@@ -88,3 +94,5 @@
};
#endif
+
+