C# 클래스 ComponentAce.Compression.Libs.zlib.SupportClass

파일 보기 프로젝트 열기: Core-Techs/TiffLibrary 1 사용 예제들

공개 메소드들

메소드 설명
Identity ( double literal ) : double

This method returns the literal value received

Identity ( float literal ) : float

This method returns the literal value received

Identity ( long literal ) : long

This method returns the literal value received

Identity ( ulong literal ) : ulong

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

메소드 상세

Identity() 공개 정적인 메소드

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

Identity() 공개 정적인 메소드

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

Identity() 공개 정적인 메소드

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

Identity() 공개 정적인 메소드

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

ReadInput() 공개 정적인 메소드

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.
리턴 System.Int32

ToByteArray() 공개 정적인 메소드

Converts a string to an array of bytes
public static ToByteArray ( System sourceString ) : byte[]
sourceString System The string to be converted
리턴 byte[]

ToCharArray() 공개 정적인 메소드

Converts an array of bytes to an array of chars
public static ToCharArray ( byte byteArray ) : char[]
byteArray byte The array of bytes to convert
리턴 char[]

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 ( int number, long bits ) : int
number int Number to operate on
bits long 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

URShift() 공개 정적인 메소드

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
리턴 long