C# 클래스 Support.SupportClass

파일 보기 프로젝트 열기: RHY3756547/FreeSO

공개 메소드들

메소드 설명
CreateNewInstance ( System classType ) : Object

Creates an instance of a received Type

Deserialize ( System binaryReader ) : Object
GetSBytesFromString ( string sourceString, int sourceStart, int sourceEnd, sbyte &destinationArray, int destinationStart ) : void

Method that copies an array of sbytes from a String to a received array .

HashtableRemove ( System hashtable, System key ) : Object

Removes the element with the specified key from a Hashtable instance.

Identity ( double literal ) : double

This method is used as a dummy method to simulate VJ++ behavior

Identity ( float literal ) : float

This method is used as a dummy method to simulate VJ++ behavior

Identity ( long literal ) : long

This method is used as a dummy method to simulate VJ++ behavior

Identity ( ulong literal ) : ulong

This method is used as a dummy method to simulate VJ++ behavior

PutElement ( System hashTable, System key, System newValue ) : Object
ReadInput ( System sourceStream, sbyte &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.

Serialize ( System stream, System objectToSend ) : void

Writes an object to the specified Stream

ToByteArray ( sbyte sbyteArray ) : byte[]

Converts an array of sbytes to an array of bytes

ToByteArray ( string sourceString ) : byte[]

Converts a string to an array of bytes

URShift ( int number, int bits ) : int
URShift ( int number, long bits ) : int
URShift ( long number, int bits ) : long
URShift ( long number, long bits ) : long
WriteStackTrace ( System throwable, System stream ) : void

메소드 상세

CreateNewInstance() 공개 정적인 메소드

Creates an instance of a received Type
public static CreateNewInstance ( System classType ) : Object
classType System The Type of the new class instance to return
리턴 System.Object

Deserialize() 공개 정적인 메소드

public static Deserialize ( System binaryReader ) : Object
binaryReader System
리턴 System.Object

GetSBytesFromString() 공개 정적인 메소드

Method that copies an array of sbytes from a String to a received array .
public static GetSBytesFromString ( string sourceString, int sourceStart, int sourceEnd, sbyte &destinationArray, int destinationStart ) : void
sourceString string The String to get the sbytes.
sourceStart int Position in the String to start getting sbytes.
sourceEnd int Position in the String to end getting sbytes.
destinationArray sbyte Array to store the bytes.
destinationStart int Position in the destination array to start storing the sbytes.
리턴 void

HashtableRemove() 공개 정적인 메소드

Removes the element with the specified key from a Hashtable instance.
public static HashtableRemove ( System hashtable, System key ) : Object
hashtable System The Hashtable instance
key System The key of the element to remove
리턴 System.Object

Identity() 공개 정적인 메소드

This method is used as a dummy method to simulate VJ++ behavior
public static Identity ( double literal ) : double
literal double The literal to return
리턴 double

Identity() 공개 정적인 메소드

This method is used as a dummy method to simulate VJ++ behavior
public static Identity ( float literal ) : float
literal float The literal to return
리턴 float

Identity() 공개 정적인 메소드

This method is used as a dummy method to simulate VJ++ behavior
public static Identity ( long literal ) : long
literal long The literal to return
리턴 long

Identity() 공개 정적인 메소드

This method is used as a dummy method to simulate VJ++ behavior
public static Identity ( ulong literal ) : ulong
literal ulong The literal to return
리턴 ulong

PutElement() 공개 정적인 메소드

public static PutElement ( System hashTable, System key, System newValue ) : Object
hashTable System
key System
newValue System
리턴 System.Object

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, sbyte &target, int start, int count ) : Int32
sourceStream System The source Stream to read from
target sbyte 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

Serialize() 공개 정적인 메소드

Writes an object to the specified Stream
public static Serialize ( System stream, System objectToSend ) : void
stream System The target Stream
objectToSend System The object to be sent
리턴 void

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[]

ToByteArray() 공개 정적인 메소드

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

URShift() 공개 정적인 메소드

public static URShift ( int number, int bits ) : int
number int
bits int
리턴 int

URShift() 공개 정적인 메소드

public static URShift ( int number, long bits ) : int
number int
bits long
리턴 int

URShift() 공개 정적인 메소드

public static URShift ( long number, int bits ) : long
number long
bits int
리턴 long

URShift() 공개 정적인 메소드

public static URShift ( long number, long bits ) : long
number long
bits long
리턴 long

WriteStackTrace() 공개 정적인 메소드

public static WriteStackTrace ( System throwable, System stream ) : void
throwable System
stream System
리턴 void