ZipUtils
ZipUtils
Cocos2DInheritance: System.Object
Constructors
ZipUtils()
ZipUtils()()Methods
InflateCCZFile(string, byte[])
System.Int32 InflateCCZFile(string, byte[])(System.String filename, System.Byte[] parameterout)Parameters:
filename (System.String)parameterout (System.Byte[])Returns:
System.Int32Example
InflateGZipFile(char, byte[])
System.Int32 InflateGZipFile(char, byte[])(System.Char filename, System.Byte[] parameterout)Parameters:
filename (System.Char)parameterout (System.Byte[])Returns:
System.Int32Example
InflateMemory(byte[], uint, byte[])
System.Int32 InflateMemory(byte[], uint, byte[])(System.Byte[] parameterin, System.UInt32 inLength, System.Byte[] parameterout)* Inflates either zlib or gzip deflated memory. The inflated memory is * expected to be freed by the caller. * * It will allocate 256k for the destination buffer. If it is not enought it will multiply the previous buffer size per 2, until there is enough memory. * @returns the length of the deflated buffer * @since v0.8.1
Parameters:
parameterin (System.Byte[])inLength (System.UInt32)parameterout (System.Byte[])Returns:
System.Int32Example
InflateMemoryWithHint(byte[], uint, byte[], int)
System.Int32 InflateMemoryWithHint(byte[], uint, byte[], int)(System.Byte[] parameterin, System.UInt32 inLength, System.Byte[] parameterout, System.Int32 outLenghtHint)Parameters:
parameterin (System.Byte[])inLength (System.UInt32)parameterout (System.Byte[])outLenghtHint (System.Int32)Returns:
System.Int32Example