C# Class RestSharp.Compression.ZLib.SharedUtils

Afficher le fichier Open project: eamonwoortman/RestSharp.Unity Class Usage Examples

Méthodes publiques

Méthode 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

Méthode Description
ToByteArray ( string sourceString ) : byte[]
ToCharArray ( byte byteArray ) : char[]

Method Details

ReadInput() public static méthode

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.
Résultat System.Int32

ReadInput() public static méthode

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.
Résultat int

URShift() public static méthode

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
Résultat int

URShift() public static méthode

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
Résultat long

UrShift() public static méthode

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
Résultat int

UrShift() public static méthode

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
Résultat long