C# Класс Ionic.Zlib.SharedUtils

Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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

Приватные методы

Метод Описание
ToByteArray ( System sourceString ) : byte[]
ToCharArray ( byte byteArray ) : char[]

Описание методов

ReadInput() публичный статический Метод

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.
Результат System.Int32

URShift() публичный статический Метод

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
Результат int

URShift() публичный статический Метод

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
Результат long