Cocos2D.Compression.Zlib.SupportClass
Class SupportClass
Namespace: Cocos2D.Compression.Zlib
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 SupportClass
Inheritance
Inherited Members
object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
Constructors
SupportClass()
public SupportClass()
SupportClass()
public SupportClass()
SupportClass()
public SupportClass()
SupportClass()
public SupportClass()
SupportClass()
public SupportClass()
SupportClass()
public SupportClass()
SupportClass()
public SupportClass()
SupportClass()
public SupportClass()
SupportClass()
public SupportClass()
SupportClass()
public SupportClass()
SupportClass()
public SupportClass()
SupportClass()
public SupportClass()
Methods
Identity(long)
This method returns the literal value received
public static long Identity(long literal)
Parameters
literal
long
The literal to return
Returns
The received value
Identity(ulong)
This method returns the literal value received
public static ulong Identity(ulong literal)
Parameters
literal
ulong
The literal to return
Returns
The received value
Identity(float)
This method returns the literal value received
public static float Identity(float literal)
Parameters
literal
float
The literal to return
Returns
The received value
Identity(double)
This method returns the literal value received
public static double Identity(double literal)
Parameters
literal
double
The literal to return
Returns
The received value
Identity(long)
This method returns the literal value received
public static long Identity(long literal)
Parameters
literal
long
The literal to return
Returns
The received value
Identity(ulong)
This method returns the literal value received
public static ulong Identity(ulong literal)
Parameters
literal
ulong
The literal to return
Returns
The received value
Identity(float)
This method returns the literal value received
public static float Identity(float literal)
Parameters
literal
float
The literal to return
Returns
The received value
Identity(double)
This method returns the literal value received
public static double Identity(double literal)
Parameters
literal
double
The literal to return
Returns
The received value
Identity(long)
public static long Identity(long literal)
Parameters
literal
long
Returns
Identity(ulong)
public static ulong Identity(ulong literal)
Parameters
literal
ulong
Returns
Identity(float)
public static float Identity(float literal)
Parameters
literal
float
Returns
Identity(double)
public static double Identity(double literal)
Parameters
literal
double
Returns
Identity(long)
public static long Identity(long literal)
Parameters
literal
long
Returns
Identity(ulong)
public static ulong Identity(ulong literal)
Parameters
literal
ulong
Returns
Identity(float)
public static float Identity(float literal)
Parameters
literal
float
Returns
Identity(double)
public static double Identity(double literal)
Parameters
literal
double
Returns
Identity(long)
public static long Identity(long literal)
Parameters
literal
long
Returns
Identity(ulong)
public static ulong Identity(ulong literal)
Parameters
literal
ulong
Returns
Identity(float)
public static float Identity(float literal)
Parameters
literal
float
Returns
Identity(double)
public static double Identity(double literal)
Parameters
literal
double
Returns
Identity(long)
public static long Identity(long literal)
Parameters
literal
long
Returns
Identity(ulong)
public static ulong Identity(ulong literal)
Parameters
literal
ulong
Returns
Identity(float)
public static float Identity(float literal)
Parameters
literal
float
Returns
Identity(double)
public static double Identity(double literal)
Parameters
literal
double
Returns
Identity(long)
public static long Identity(long literal)
Parameters
literal
long
Returns
Identity(ulong)
public static ulong Identity(ulong literal)
Parameters
literal
ulong
Returns
Identity(float)
public static float Identity(float literal)
Parameters
literal
float
Returns
Identity(double)
public static double Identity(double literal)
Parameters
literal
double
Returns
Identity(long)
public static long Identity(long literal)
Parameters
literal
long
Returns
Identity(ulong)
public static ulong Identity(ulong literal)
Parameters
literal
ulong
Returns
Identity(float)
public static float Identity(float literal)
Parameters
literal
float
Returns
Identity(double)
public static double Identity(double literal)
Parameters
literal
double
Returns
Identity(long)
public static long Identity(long literal)
Parameters
literal
long
Returns
Identity(ulong)
public static ulong Identity(ulong literal)
Parameters
literal
ulong
Returns
Identity(float)
public static float Identity(float literal)
Parameters
literal
float
Returns
Identity(double)
public static double Identity(double literal)
Parameters
literal
double
Returns
Identity(long)
public static long Identity(long literal)
Parameters
literal
long
Returns
Identity(ulong)
public static ulong Identity(ulong literal)
Parameters
literal
ulong
Returns
Identity(float)
public static float Identity(float literal)
Parameters
literal
float
Returns
Identity(double)
public static double Identity(double literal)
Parameters
literal
double
Returns
Identity(long)
public static long Identity(long literal)
Parameters
literal
long
Returns
Identity(ulong)
public static ulong Identity(ulong literal)
Parameters
literal
ulong
Returns
Identity(float)
public static float Identity(float literal)
Parameters
literal
float
Returns
Identity(double)
public static double Identity(double literal)
Parameters
literal
double
Returns
Identity(long)
public static long Identity(long literal)
Parameters
literal
long
Returns
Identity(ulong)
public static ulong Identity(ulong literal)
Parameters
literal
ulong
Returns
Identity(float)
public static float Identity(float literal)
Parameters
literal
float
Returns
Identity(double)
public static double Identity(double literal)
Parameters
literal
double
Returns
ReadInput(Stream, byte[], int, int)
Reads a number of characters from the current source Stream and writes the data to the target array at the specified index.
public static int ReadInput(Stream sourceStream, byte[] target, int start, int count)
Parameters
sourceStream
Stream
The source Stream to read from.
target
byte[]
Contains the array of characteres read from the source Stream.
start
int
The starting index of the target array.
count
int
The maximum number of characters to read from the source Stream.
Returns
The number of characters read. The number will be less than or equal to count depending on the data available in the source Stream. Returns -1 if the end of the stream is reached.
ReadInput(TextReader, byte[], int, int)
Reads a number of characters from the current source TextReader and writes the data to the target array at the specified index.
public static int ReadInput(TextReader sourceTextReader, byte[] target, int start, int count)
Parameters
sourceTextReader
TextReader
The source TextReader to read from
target
byte[]
Contains the array of characteres read from the source TextReader.
start
int
The starting index of the target array.
count
int
The maximum number of characters to read from the source TextReader.
Returns
The number of characters read. The number will be less than or equal to count depending on the data available in the source TextReader. Returns -1 if the end of the stream is reached.
ReadInput(Stream, byte[], int, int)
Reads a number of characters from the current source Stream and writes the data to the target array at the specified index.
public static int ReadInput(Stream sourceStream, byte[] target, int start, int count)
Parameters
sourceStream
Stream
The source Stream to read from.
target
byte[]
Contains the array of characteres read from the source Stream.
start
int
The starting index of the target array.
count
int
The maximum number of characters to read from the source Stream.
Returns
The number of characters read. The number will be less than or equal to count depending on the data available in the source Stream. Returns -1 if the end of the stream is reached.
ReadInput(TextReader, byte[], int, int)
Reads a number of characters from the current source TextReader and writes the data to the target array at the specified index.
public static int ReadInput(TextReader sourceTextReader, byte[] target, int start, int count)
Parameters
sourceTextReader
TextReader
The source TextReader to read from
target
byte[]
Contains the array of characteres read from the source TextReader.
start
int
The starting index of the target array.
count
int
The maximum number of characters to read from the source TextReader.
Returns
The number of characters read. The number will be less than or equal to count depending on the data available in the source TextReader. Returns -1 if the end of the stream is reached.
ReadInput(Stream, byte[], int, int)
public static int ReadInput(Stream sourceStream, byte[] target, int start, int count)
Parameters
sourceStream
Stream
target
byte[]
start
int
count
int
Returns
ReadInput(TextReader, byte[], int, int)
public static int ReadInput(TextReader sourceTextReader, byte[] target, int start, int count)
Parameters
sourceTextReader
TextReader
target
byte[]
start
int
count
int
Returns
ReadInput(Stream, byte[], int, int)
public static int ReadInput(Stream sourceStream, byte[] target, int start, int count)
Parameters
sourceStream
Stream
target
byte[]
start
int
count
int
Returns
ReadInput(TextReader, byte[], int, int)
public static int ReadInput(TextReader sourceTextReader, byte[] target, int start, int count)
Parameters
sourceTextReader
TextReader
target
byte[]
start
int
count
int
Returns
ReadInput(Stream, byte[], int, int)
public static int ReadInput(Stream sourceStream, byte[] target, int start, int count)
Parameters
sourceStream
Stream
target
byte[]
start
int
count
int
Returns
ReadInput(TextReader, byte[], int, int)
public static int ReadInput(TextReader sourceTextReader, byte[] target, int start, int count)
Parameters
sourceTextReader
TextReader
target
byte[]
start
int
count
int
Returns
ReadInput(Stream, byte[], int, int)
public static int ReadInput(Stream sourceStream, byte[] target, int start, int count)
Parameters
sourceStream
Stream
target
byte[]
start
int
count
int
Returns
ReadInput(TextReader, byte[], int, int)
public static int ReadInput(TextReader sourceTextReader, byte[] target, int start, int count)
Parameters
sourceTextReader
TextReader
target
byte[]
start
int
count
int
Returns
ReadInput(Stream, byte[], int, int)
public static int ReadInput(Stream sourceStream, byte[] target, int start, int count)
Parameters
sourceStream
Stream
target
byte[]
start
int
count
int
Returns
ReadInput(TextReader, byte[], int, int)
public static int ReadInput(TextReader sourceTextReader, byte[] target, int start, int count)
Parameters
sourceTextReader
TextReader
target
byte[]
start
int
count
int
Returns
ReadInput(Stream, byte[], int, int)
public static int ReadInput(Stream sourceStream, byte[] target, int start, int count)
Parameters
sourceStream
Stream
target
byte[]
start
int
count
int
Returns
ReadInput(TextReader, byte[], int, int)
public static int ReadInput(TextReader sourceTextReader, byte[] target, int start, int count)
Parameters
sourceTextReader
TextReader
target
byte[]
start
int
count
int
Returns
ReadInput(Stream, byte[], int, int)
public static int ReadInput(Stream sourceStream, byte[] target, int start, int count)
Parameters
sourceStream
Stream
target
byte[]
start
int
count
int
Returns
ReadInput(TextReader, byte[], int, int)
public static int ReadInput(TextReader sourceTextReader, byte[] target, int start, int count)
Parameters
sourceTextReader
TextReader
target
byte[]
start
int
count
int
Returns
ReadInput(Stream, byte[], int, int)
public static int ReadInput(Stream sourceStream, byte[] target, int start, int count)
Parameters
sourceStream
Stream
target
byte[]
start
int
count
int
Returns
ReadInput(TextReader, byte[], int, int)
public static int ReadInput(TextReader sourceTextReader, byte[] target, int start, int count)
Parameters
sourceTextReader
TextReader
target
byte[]
start
int
count
int
Returns
ReadInput(Stream, byte[], int, int)
public static int ReadInput(Stream sourceStream, byte[] target, int start, int count)
Parameters
sourceStream
Stream
target
byte[]
start
int
count
int
Returns
ReadInput(TextReader, byte[], int, int)
public static int ReadInput(TextReader sourceTextReader, byte[] target, int start, int count)
Parameters
sourceTextReader
TextReader
target
byte[]
start
int
count
int
Returns
ReadInput(Stream, byte[], int, int)
public static int ReadInput(Stream sourceStream, byte[] target, int start, int count)
Parameters
sourceStream
Stream
target
byte[]
start
int
count
int
Returns
ReadInput(TextReader, byte[], int, int)
public static int ReadInput(TextReader sourceTextReader, byte[] target, int start, int count)
Parameters
sourceTextReader
TextReader
target
byte[]
start
int
count
int
Returns
ToByteArray(string)
Converts a string to an array of bytes
public static byte[] ToByteArray(string sourceString)
Parameters
sourceString
string
The string to be converted
Returns
byte[]
The new array of bytes
ToByteArray(string)
Converts a string to an array of bytes
public static byte[] ToByteArray(string sourceString)
Parameters
sourceString
string
The string to be converted
Returns
byte[]
The new array of bytes
ToByteArray(string)
public static byte[] ToByteArray(string sourceString)
Parameters
sourceString
string
Returns
byte[]
ToByteArray(string)
public static byte[] ToByteArray(string sourceString)
Parameters
sourceString
string
Returns
byte[]
ToByteArray(string)
public static byte[] ToByteArray(string sourceString)
Parameters
sourceString
string
Returns
byte[]
ToByteArray(string)
public static byte[] ToByteArray(string sourceString)
Parameters
sourceString
string
Returns
byte[]
ToByteArray(string)
public static byte[] ToByteArray(string sourceString)
Parameters
sourceString
string
Returns
byte[]
ToByteArray(string)
public static byte[] ToByteArray(string sourceString)
Parameters
sourceString
string
Returns
byte[]
ToByteArray(string)
public static byte[] ToByteArray(string sourceString)
Parameters
sourceString
string
Returns
byte[]
ToByteArray(string)
public static byte[] ToByteArray(string sourceString)
Parameters
sourceString
string
Returns
byte[]
ToByteArray(string)
public static byte[] ToByteArray(string sourceString)
Parameters
sourceString
string
Returns
byte[]
ToByteArray(string)
public static byte[] ToByteArray(string sourceString)
Parameters
sourceString
string
Returns
byte[]
ToCharArray(byte[])
Converts an array of bytes to an array of chars
public static char[] ToCharArray(byte[] byteArray)
Parameters
byteArray
byte[]
The array of bytes to convert
Returns
char[]
The new array of chars
ToCharArray(byte[])
Converts an array of bytes to an array of chars
public static char[] ToCharArray(byte[] byteArray)
Parameters
byteArray
byte[]
The array of bytes to convert
Returns
char[]
The new array of chars
ToCharArray(byte[])
public static char[] ToCharArray(byte[] byteArray)
Parameters
byteArray
byte[]
Returns
char[]
ToCharArray(byte[])
public static char[] ToCharArray(byte[] byteArray)
Parameters
byteArray
byte[]
Returns
char[]
ToCharArray(byte[])
public static char[] ToCharArray(byte[] byteArray)
Parameters
byteArray
byte[]
Returns
char[]
ToCharArray(byte[])
public static char[] ToCharArray(byte[] byteArray)
Parameters
byteArray
byte[]
Returns
char[]
ToCharArray(byte[])
public static char[] ToCharArray(byte[] byteArray)
Parameters
byteArray
byte[]
Returns
char[]
ToCharArray(byte[])
public static char[] ToCharArray(byte[] byteArray)
Parameters
byteArray
byte[]
Returns
char[]
ToCharArray(byte[])
public static char[] ToCharArray(byte[] byteArray)
Parameters
byteArray
byte[]
Returns
char[]
ToCharArray(byte[])
public static char[] ToCharArray(byte[] byteArray)
Parameters
byteArray
byte[]
Returns
char[]
ToCharArray(byte[])
public static char[] ToCharArray(byte[] byteArray)
Parameters
byteArray
byte[]
Returns
char[]
ToCharArray(byte[])
public static char[] ToCharArray(byte[] byteArray)
Parameters
byteArray
byte[]
Returns
char[]
URShift(int, int)
Performs an unsigned bitwise right shift with the specified number
public static int URShift(int number, int bits)
Parameters
number
int
Number to operate on
bits
int
Ammount of bits to shift
Returns
The resulting number from the shift operation
URShift(int, long)
Performs an unsigned bitwise right shift with the specified number
public static int URShift(int number, long bits)
Parameters
number
int
Number to operate on
bits
long
Ammount of bits to shift
Returns
The resulting number from the shift operation
URShift(long, int)
Performs an unsigned bitwise right shift with the specified number
public static long URShift(long number, int bits)
Parameters
number
long
Number to operate on
bits
int
Ammount of bits to shift
Returns
The resulting number from the shift operation
URShift(long, long)
Performs an unsigned bitwise right shift with the specified number
public static long URShift(long number, long bits)
Parameters
number
long
Number to operate on
bits
long
Ammount of bits to shift
Returns
The resulting number from the shift operation
URShift(int, int)
Performs an unsigned bitwise right shift with the specified number
public static int URShift(int number, int bits)
Parameters
number
int
Number to operate on
bits
int
Ammount of bits to shift
Returns
The resulting number from the shift operation
URShift(int, long)
Performs an unsigned bitwise right shift with the specified number
public static int URShift(int number, long bits)
Parameters
number
int
Number to operate on
bits
long
Ammount of bits to shift
Returns
The resulting number from the shift operation
URShift(long, int)
Performs an unsigned bitwise right shift with the specified number
public static long URShift(long number, int bits)
Parameters
number
long
Number to operate on
bits
int
Ammount of bits to shift
Returns
The resulting number from the shift operation
URShift(long, long)
Performs an unsigned bitwise right shift with the specified number
public static long URShift(long number, long bits)
Parameters
number
long
Number to operate on
bits
long
Ammount of bits to shift
Returns
The resulting number from the shift operation
URShift(int, int)
public static int URShift(int number, int bits)
Parameters
number
int
bits
int
Returns
URShift(int, long)
public static int URShift(int number, long bits)
Parameters
number
int
bits
long
Returns
URShift(long, int)
public static long URShift(long number, int bits)
Parameters
number
long
bits
int
Returns
URShift(long, long)
public static long URShift(long number, long bits)
Parameters
number
long
bits
long
Returns
URShift(int, int)
public static int URShift(int number, int bits)
Parameters
number
int
bits
int
Returns
URShift(int, long)
public static int URShift(int number, long bits)
Parameters
number
int
bits
long
Returns
URShift(long, int)
public static long URShift(long number, int bits)
Parameters
number
long
bits
int
Returns
URShift(long, long)
public static long URShift(long number, long bits)
Parameters
number
long
bits
long
Returns
URShift(int, int)
public static int URShift(int number, int bits)
Parameters
number
int
bits
int
Returns
URShift(int, long)
public static int URShift(int number, long bits)
Parameters
number
int
bits
long
Returns
URShift(long, int)
public static long URShift(long number, int bits)
Parameters
number
long
bits
int
Returns
URShift(long, long)
public static long URShift(long number, long bits)
Parameters
number
long
bits
long
Returns
URShift(int, int)
public static int URShift(int number, int bits)
Parameters
number
int
bits
int
Returns
URShift(int, long)
public static int URShift(int number, long bits)
Parameters
number
int
bits
long
Returns
URShift(long, int)
public static long URShift(long number, int bits)
Parameters
number
long
bits
int
Returns
URShift(long, long)
public static long URShift(long number, long bits)
Parameters
number
long
bits
long
Returns
URShift(int, int)
public static int URShift(int number, int bits)
Parameters
number
int
bits
int
Returns
URShift(int, long)
public static int URShift(int number, long bits)
Parameters
number
int
bits
long
Returns
URShift(long, int)
public static long URShift(long number, int bits)
Parameters
number
long
bits
int
Returns
URShift(long, long)
public static long URShift(long number, long bits)
Parameters
number
long
bits
long
Returns
URShift(int, int)
public static int URShift(int number, int bits)
Parameters
number
int
bits
int
Returns
URShift(int, long)
public static int URShift(int number, long bits)
Parameters
number
int
bits
long
Returns
URShift(long, int)
public static long URShift(long number, int bits)
Parameters
number
long
bits
int
Returns
URShift(long, long)
public static long URShift(long number, long bits)
Parameters
number
long
bits
long
Returns
URShift(int, int)
public static int URShift(int number, int bits)
Parameters
number
int
bits
int
Returns
URShift(int, long)
public static int URShift(int number, long bits)
Parameters
number
int
bits
long
Returns
URShift(long, int)
public static long URShift(long number, int bits)
Parameters
number
long
bits
int
Returns
URShift(long, long)
public static long URShift(long number, long bits)
Parameters
number
long
bits
long
Returns
URShift(int, int)
public static int URShift(int number, int bits)
Parameters
number
int
bits
int
Returns
URShift(int, long)
public static int URShift(int number, long bits)
Parameters
number
int
bits
long
Returns
URShift(long, int)
public static long URShift(long number, int bits)
Parameters
number
long
bits
int
Returns
URShift(long, long)
public static long URShift(long number, long bits)
Parameters
number
long
bits
long
Returns
URShift(int, int)
public static int URShift(int number, int bits)
Parameters
number
int
bits
int
Returns
URShift(int, long)
public static int URShift(int number, long bits)
Parameters
number
int
bits
long
Returns
URShift(long, int)
public static long URShift(long number, int bits)
Parameters
number
long
bits
int
Returns
URShift(long, long)
public static long URShift(long number, long bits)
Parameters
number
long
bits
long
Returns
URShift(int, int)
public static int URShift(int number, int bits)
Parameters
number
int
bits
int
Returns
URShift(int, long)
public static int URShift(int number, long bits)
Parameters
number
int
bits
long
Returns
URShift(long, int)
public static long URShift(long number, int bits)
Parameters
number
long
bits
int
Returns
URShift(long, long)
public static long URShift(long number, long bits)
Parameters
number
long
bits
long