C# Class Cimbalino.Phone.Toolkit.Compression.SharedUtils

Mostra file Open project: Cimbalino/Cimbalino-Phone-Toolkit Class Usage Examples

Public Methods

Method Description
ReadInput ( System sourceTextReader, byte target, int start, int count ) : Int32

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

URShift ( int number, int 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

Private Methods

Method Description
ToByteArray ( System sourceString ) : byte[]
ToCharArray ( byte byteArray ) : char[]

Method Details

ReadInput() public static method

Reads a number of characters from the current source TextReader and writes the data to the target array at the specified index.
public static ReadInput ( System sourceTextReader, byte target, int start, int count ) : Int32
sourceTextReader System 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.
return System.Int32

URShift() public static method

Performs an unsigned bitwise right shift with the specified number
public static URShift ( int number, int bits ) : int
number int Number to operate on
bits int Ammount of bits to shift
return int

URShift() public static method

Performs an unsigned bitwise right shift with the specified number
public static URShift ( long number, int bits ) : long
number long Number to operate on
bits int Ammount of bits to shift
return long