C# Class ComponentAce.Compression.Libs.ZLib.ZLibUtil

Helper class
Show file Open project: jschementi/iron Class Usage Examples

Public Methods

Method Description
Identity ( long literal ) : long

This method returns the literal value received

Identity ( ulong literal ) : ulong

This method returns the literal value received

Private Methods

Method Description
Identity ( double literal ) : double

This method returns the literal value received

Identity ( float literal ) : float

This method returns the literal value received

ReadInput ( System sourceStream, byte target, int start, int count ) : Int32

Reads a number of characters from the current source Stream and writes the data to the target array at the specified index.

ToByteArray ( System sourceString ) : byte[]

Converts a string to an array of bytes

ToCharArray ( byte byteArray ) : char[]

Converts an array of bytes to an array of chars

URShift ( int number, int bits ) : int

Performs an unsigned bitwise right shift with the specified number

URShift ( int number, long bits ) : int

Performs an unsigned bitwise right shift with the specified number

URShift ( long number, int bits ) : long

Performs an unsigned bitwise right shift with the specified number

URShift ( long number, long bits ) : long

Performs an unsigned bitwise right shift with the specified number

Method Details

Identity() public static method

This method returns the literal value received
public static Identity ( long literal ) : long
literal long The literal to return
return long

Identity() public static method

This method returns the literal value received
public static Identity ( ulong literal ) : ulong
literal ulong The literal to return
return ulong