C# Class RestSharp.Compression.ZLib.SharedUtils

Show file Open project: eamonwoortman/RestSharp.Unity Class Usage Examples

Public Methods

Method Description
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.

ReadInput ( TextReader sourceTextReader, byte target, int start, int count ) : int

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, long bits ) : int

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

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 ( string sourceString ) : byte[]
ToCharArray ( byte byteArray ) : char[]

Method Details

ReadInput() public static method

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

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 ( TextReader sourceTextReader, byte target, int start, int count ) : int
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.
return int

URShift() public static method

Performs an unsigned bitwise right shift with the specified number
public static URShift ( int number, long bits ) : int
number int Number to operate on
bits long 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, long bits ) : long
number long Number to operate on
bits long Ammount of bits to shift
return long

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