Cocos2D.ZipUtils
Class ZipUtils
Namespace: Cocos2D
Assembly: Cocos2D.dll, cocos2d_mono.Core.Android.dll, cocos2d_mono.Core.DesktopGL.dll, cocos2d-mono.Core.iOS.dll, cocos2d_mono.Core.Linux.dll, cocos2d_mono.Core.macOS.dll, cocos2d_mono.Windows.dll, cocos2d_mono.DesktopGL.dll, cocos2d-mono.iOS.dll, cocos2d_mono.Linux.dll, cocos2d_mono.macOS.dll
public class ZipUtils
Inheritance
Inherited Members
object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
Constructors
ZipUtils()
public ZipUtils()
ZipUtils()
public ZipUtils()
ZipUtils()
public ZipUtils()
ZipUtils()
public ZipUtils()
ZipUtils()
public ZipUtils()
ZipUtils()
public ZipUtils()
ZipUtils()
public ZipUtils()
ZipUtils()
public ZipUtils()
ZipUtils()
public ZipUtils()
ZipUtils()
public ZipUtils()
ZipUtils()
public ZipUtils()
ZipUtils()
public ZipUtils()
Methods
InflateCCZFile(string, byte[])
public static int InflateCCZFile(string filename, byte[] parameterout)
Parameters
filename
string
parameterout
byte[]
Returns
InflateCCZFile(string, byte[])
public static int InflateCCZFile(string filename, byte[] parameterout)
Parameters
filename
string
parameterout
byte[]
Returns
InflateCCZFile(string, byte[])
public static int InflateCCZFile(string filename, byte[] parameterout)
Parameters
filename
string
parameterout
byte[]
Returns
InflateCCZFile(string, byte[])
public static int InflateCCZFile(string filename, byte[] parameterout)
Parameters
filename
string
parameterout
byte[]
Returns
InflateCCZFile(string, byte[])
public static int InflateCCZFile(string filename, byte[] parameterout)
Parameters
filename
string
parameterout
byte[]
Returns
InflateCCZFile(string, byte[])
public static int InflateCCZFile(string filename, byte[] parameterout)
Parameters
filename
string
parameterout
byte[]
Returns
InflateCCZFile(string, byte[])
public static int InflateCCZFile(string filename, byte[] parameterout)
Parameters
filename
string
parameterout
byte[]
Returns
InflateCCZFile(string, byte[])
public static int InflateCCZFile(string filename, byte[] parameterout)
Parameters
filename
string
parameterout
byte[]
Returns
InflateCCZFile(string, byte[])
public static int InflateCCZFile(string filename, byte[] parameterout)
Parameters
filename
string
parameterout
byte[]
Returns
InflateCCZFile(string, byte[])
public static int InflateCCZFile(string filename, byte[] parameterout)
Parameters
filename
string
parameterout
byte[]
Returns
InflateCCZFile(string, byte[])
public static int InflateCCZFile(string filename, byte[] parameterout)
Parameters
filename
string
parameterout
byte[]
Returns
InflateCCZFile(string, byte[])
public static int InflateCCZFile(string filename, byte[] parameterout)
Parameters
filename
string
parameterout
byte[]
Returns
InflateGZipFile(char, byte[])
public static int InflateGZipFile(char filename, byte[] parameterout)
Parameters
filename
char
parameterout
byte[]
Returns
InflateGZipFile(char, byte[])
public static int InflateGZipFile(char filename, byte[] parameterout)
Parameters
filename
char
parameterout
byte[]
Returns
InflateGZipFile(char, byte[])
public static int InflateGZipFile(char filename, byte[] parameterout)
Parameters
filename
char
parameterout
byte[]
Returns
InflateGZipFile(char, byte[])
public static int InflateGZipFile(char filename, byte[] parameterout)
Parameters
filename
char
parameterout
byte[]
Returns
InflateGZipFile(char, byte[])
public static int InflateGZipFile(char filename, byte[] parameterout)
Parameters
filename
char
parameterout
byte[]
Returns
InflateGZipFile(char, byte[])
public static int InflateGZipFile(char filename, byte[] parameterout)
Parameters
filename
char
parameterout
byte[]
Returns
InflateGZipFile(char, byte[])
public static int InflateGZipFile(char filename, byte[] parameterout)
Parameters
filename
char
parameterout
byte[]
Returns
InflateGZipFile(char, byte[])
public static int InflateGZipFile(char filename, byte[] parameterout)
Parameters
filename
char
parameterout
byte[]
Returns
InflateGZipFile(char, byte[])
public static int InflateGZipFile(char filename, byte[] parameterout)
Parameters
filename
char
parameterout
byte[]
Returns
InflateGZipFile(char, byte[])
public static int InflateGZipFile(char filename, byte[] parameterout)
Parameters
filename
char
parameterout
byte[]
Returns
InflateGZipFile(char, byte[])
public static int InflateGZipFile(char filename, byte[] parameterout)
Parameters
filename
char
parameterout
byte[]
Returns
InflateGZipFile(char, byte[])
public static int InflateGZipFile(char filename, byte[] parameterout)
Parameters
filename
char
parameterout
byte[]
Returns
InflateMemory(byte[], uint, byte[])
* 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
public static int InflateMemory(byte[] parameterin, uint inLength, byte[] parameterout)
Parameters
parameterin
byte[]
inLength
uint
parameterout
byte[]
Returns
InflateMemory(byte[], uint, byte[])
* 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
public static int InflateMemory(byte[] parameterin, uint inLength, byte[] parameterout)
Parameters
parameterin
byte[]
inLength
uint
parameterout
byte[]
Returns
InflateMemory(byte[], uint, byte[])
public static int InflateMemory(byte[] parameterin, uint inLength, byte[] parameterout)
Parameters
parameterin
byte[]
inLength
uint
parameterout
byte[]
Returns
InflateMemory(byte[], uint, byte[])
public static int InflateMemory(byte[] parameterin, uint inLength, byte[] parameterout)
Parameters
parameterin
byte[]
inLength
uint
parameterout
byte[]
Returns
InflateMemory(byte[], uint, byte[])
public static int InflateMemory(byte[] parameterin, uint inLength, byte[] parameterout)
Parameters
parameterin
byte[]
inLength
uint
parameterout
byte[]
Returns
InflateMemory(byte[], uint, byte[])
public static int InflateMemory(byte[] parameterin, uint inLength, byte[] parameterout)
Parameters
parameterin
byte[]
inLength
uint
parameterout
byte[]
Returns
InflateMemory(byte[], uint, byte[])
public static int InflateMemory(byte[] parameterin, uint inLength, byte[] parameterout)
Parameters
parameterin
byte[]
inLength
uint
parameterout
byte[]
Returns
InflateMemory(byte[], uint, byte[])
public static int InflateMemory(byte[] parameterin, uint inLength, byte[] parameterout)
Parameters
parameterin
byte[]
inLength
uint
parameterout
byte[]
Returns
InflateMemory(byte[], uint, byte[])
public static int InflateMemory(byte[] parameterin, uint inLength, byte[] parameterout)
Parameters
parameterin
byte[]
inLength
uint
parameterout
byte[]
Returns
InflateMemory(byte[], uint, byte[])
public static int InflateMemory(byte[] parameterin, uint inLength, byte[] parameterout)
Parameters
parameterin
byte[]
inLength
uint
parameterout
byte[]
Returns
InflateMemory(byte[], uint, byte[])
public static int InflateMemory(byte[] parameterin, uint inLength, byte[] parameterout)
Parameters
parameterin
byte[]
inLength
uint
parameterout
byte[]
Returns
InflateMemory(byte[], uint, byte[])
public static int InflateMemory(byte[] parameterin, uint inLength, byte[] parameterout)
Parameters
parameterin
byte[]
inLength
uint
parameterout
byte[]
Returns
InflateMemoryWithHint(byte[], uint, byte[], int)
public static int InflateMemoryWithHint(byte[] parameterin, uint inLength, byte[] parameterout, int outLenghtHint)
Parameters
parameterin
byte[]
inLength
uint
parameterout
byte[]
outLenghtHint
int
Returns
InflateMemoryWithHint(byte[], uint, byte[], int)
public static int InflateMemoryWithHint(byte[] parameterin, uint inLength, byte[] parameterout, int outLenghtHint)
Parameters
parameterin
byte[]
inLength
uint
parameterout
byte[]
outLenghtHint
int
Returns
InflateMemoryWithHint(byte[], uint, byte[], int)
public static int InflateMemoryWithHint(byte[] parameterin, uint inLength, byte[] parameterout, int outLenghtHint)
Parameters
parameterin
byte[]
inLength
uint
parameterout
byte[]
outLenghtHint
int
Returns
InflateMemoryWithHint(byte[], uint, byte[], int)
public static int InflateMemoryWithHint(byte[] parameterin, uint inLength, byte[] parameterout, int outLenghtHint)
Parameters
parameterin
byte[]
inLength
uint
parameterout
byte[]
outLenghtHint
int
Returns
InflateMemoryWithHint(byte[], uint, byte[], int)
public static int InflateMemoryWithHint(byte[] parameterin, uint inLength, byte[] parameterout, int outLenghtHint)
Parameters
parameterin
byte[]
inLength
uint
parameterout
byte[]
outLenghtHint
int
Returns
InflateMemoryWithHint(byte[], uint, byte[], int)
public static int InflateMemoryWithHint(byte[] parameterin, uint inLength, byte[] parameterout, int outLenghtHint)
Parameters
parameterin
byte[]
inLength
uint
parameterout
byte[]
outLenghtHint
int
Returns
InflateMemoryWithHint(byte[], uint, byte[], int)
public static int InflateMemoryWithHint(byte[] parameterin, uint inLength, byte[] parameterout, int outLenghtHint)
Parameters
parameterin
byte[]
inLength
uint
parameterout
byte[]
outLenghtHint
int
Returns
InflateMemoryWithHint(byte[], uint, byte[], int)
public static int InflateMemoryWithHint(byte[] parameterin, uint inLength, byte[] parameterout, int outLenghtHint)
Parameters
parameterin
byte[]
inLength
uint
parameterout
byte[]
outLenghtHint
int
Returns
InflateMemoryWithHint(byte[], uint, byte[], int)
public static int InflateMemoryWithHint(byte[] parameterin, uint inLength, byte[] parameterout, int outLenghtHint)
Parameters
parameterin
byte[]
inLength
uint
parameterout
byte[]
outLenghtHint
int
Returns
InflateMemoryWithHint(byte[], uint, byte[], int)
public static int InflateMemoryWithHint(byte[] parameterin, uint inLength, byte[] parameterout, int outLenghtHint)
Parameters
parameterin
byte[]
inLength
uint
parameterout
byte[]
outLenghtHint
int
Returns
InflateMemoryWithHint(byte[], uint, byte[], int)
public static int InflateMemoryWithHint(byte[] parameterin, uint inLength, byte[] parameterout, int outLenghtHint)
Parameters
parameterin
byte[]
inLength
uint
parameterout
byte[]
outLenghtHint
int
Returns
InflateMemoryWithHint(byte[], uint, byte[], int)
public static int InflateMemoryWithHint(byte[] parameterin, uint inLength, byte[] parameterout, int outLenghtHint)
Parameters
parameterin
byte[]
inLength
uint
parameterout
byte[]
outLenghtHint
int