C# 클래스 zxingwp7.SupportClass

Contains conversion support elements such as classes, interfaces and static methods.
파일 보기 프로젝트 열기: henningms/zxing2.0-wp7

공개 메소드들

메소드 설명
GetCharsFromString ( String sourceString, int sourceStart, int sourceEnd, char destinationArray, int destinationStart ) : void

Copies an array of chars obtained from a String into a specified array of chars

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

SetCapacity ( List vector, int newCapacity ) : void

Sets the capacity for the specified ArrayList

ToByteArray ( Object tempObjectArray ) : byte[]

Converts a array of object-type instances to a byte-type array.

ToByteArray ( String sourceString ) : byte[]

Converts a string to an array of bytes

ToByteArray ( sbyte sbyteArray ) : byte[]

Converts an array of sbytes to an array of bytes

ToSByteArray ( byte byteArray ) : sbyte[]

Receives a byte array and returns it transformed in an sbyte array

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

메소드 상세

GetCharsFromString() 공개 정적인 메소드

Copies an array of chars obtained from a String into a specified array of chars
public static GetCharsFromString ( String sourceString, int sourceStart, int sourceEnd, char destinationArray, int destinationStart ) : void
sourceString String The String to get the chars from
sourceStart int Position of the String to start getting the chars
sourceEnd int Position of the String to end getting the chars
destinationArray char Array to return the chars
destinationStart int Position of the destination array of chars to start storing the chars
리턴 void

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

SetCapacity() 공개 정적인 메소드

Sets the capacity for the specified ArrayList
public static SetCapacity ( List vector, int newCapacity ) : void
vector List The ArrayList which capacity will be set
newCapacity int The new capacity value
리턴 void

ToByteArray() 공개 정적인 메소드

Converts a array of object-type instances to a byte-type array.
public static ToByteArray ( Object tempObjectArray ) : byte[]
tempObjectArray Object Array to convert.
리턴 byte[]

ToByteArray() 공개 정적인 메소드

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

ToByteArray() 공개 정적인 메소드

Converts an array of sbytes to an array of bytes
public static ToByteArray ( sbyte sbyteArray ) : byte[]
sbyteArray sbyte The array of sbytes to be converted
리턴 byte[]

ToSByteArray() 공개 정적인 메소드

Receives a byte array and returns it transformed in an sbyte array
public static ToSByteArray ( byte byteArray ) : sbyte[]
byteArray byte Byte array to process
리턴 sbyte[]

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