Method | Description | |
---|---|---|
ToAscii ( char value ) : byte |
Converts character to ascii representation. If unicode character is outside the range of an Ascii character then Convert.NonAsciiCharacter is returned.
|
|
ToAscii ( char value ) : byte[] |
Converts the array of characters to ascii representation. If unicode character is outside the range of an Ascii character then Convert.NonAsciiCharacter is returned in its place.
|
|
ToAscii ( string value ) : byte[] |
Converts string to its ascii representation. If unicode character is outside the range of an Ascii character then Convert.NonAsciiCharacter is returned in its place.
|
|
ToByteString ( string str, byte buffer, int bufferLen, int offset ) : int | ||
ToCString8 ( char value ) : CString8* |
Converts character to an ascii c like string representation. If unicode character is outside the range of an Ascii character then Convert.NonAsciiCharacter is returned.
|
|
ToCString8 ( string value ) : CString8* |
Converts string to its ascii representation terminating with null. If unicode character is outside the range of an Ascii character then Convert.NonAsciiCharacter is returned in its place.
|
|
ToInt32 ( |
||
ToInt32 ( |
||
ToInt32 ( |
||
ToInt32 ( |
||
ToInt32 ( byte buffer, int offset, int length, int capacity ) : int | ||
ToString ( int value, bool hex ) : CString8* | ||
ToString ( long value, bool hex ) : CString8* | ||
ToString ( int value, bool hex, byte buffer, int bufferLen, int offset ) : int | ||
ToString ( long value, bool hex, byte buffer, int bufferLen, int offset ) : int | ||
ToString ( uint value, bool hex, byte buffer, int bufferLen, int offset ) : int | ||
ToString ( |
||
ToString ( char val ) : string | ||
ToString ( char val, int startIndex, int length ) : string | ||
__Test1 ( ) : void |
Runs tests on the int to string conversions.
|
|
__Test2 ( ) : void |
Runs tests on the long to string conversions.
|
|
__Test3 ( ) : void |
Method | Description | |
---|---|---|
ToString ( int value, bool hex, bool signed, byte buffer, int bufferLen, int offset ) : int | ||
__RunTests ( ) : void | ||
__StringComp ( |
public static ToAscii ( char value ) : byte | ||
value | char | Character to be converted |
return | byte |
public static ToAscii ( char value ) : byte[] | ||
value | char | Array of Characters to Converted /// |
return | byte[] |
public static ToAscii ( string value ) : byte[] | ||
value | string | string to be converted |
return | byte[] |
public static ToByteString ( string str, byte buffer, int bufferLen, int offset ) : int | ||
str | string | |
buffer | byte | |
bufferLen | int | |
offset | int | |
return | int |
public static ToCString8 ( char value ) : CString8* | ||
value | char | char to be converted |
return | CString8* |
public static ToCString8 ( string value ) : CString8* | ||
value | string | |
return | CString8* |
public static ToInt32 ( |
||
str | ||
offset | int | |
length | int | |
return | int |
public static ToInt32 ( |
||
str | ||
offset | int | |
length | int | |
return | int |
public static ToInt32 ( byte buffer, int offset, int length, int capacity ) : int | ||
buffer | byte | |
offset | int | |
length | int | |
capacity | int | |
return | int |
public static ToString ( int value, bool hex ) : CString8* | ||
value | int | |
hex | bool | |
return | CString8* |
public static ToString ( long value, bool hex ) : CString8* | ||
value | long | |
hex | bool | |
return | CString8* |
public static ToString ( int value, bool hex, byte buffer, int bufferLen, int offset ) : int | ||
value | int | |
hex | bool | |
buffer | byte | |
bufferLen | int | |
offset | int | |
return | int |
public static ToString ( long value, bool hex, byte buffer, int bufferLen, int offset ) : int | ||
value | long | |
hex | bool | |
buffer | byte | |
bufferLen | int | |
offset | int | |
return | int |
public static ToString ( uint value, bool hex, byte buffer, int bufferLen, int offset ) : int | ||
value | uint | |
hex | bool | |
buffer | byte | |
bufferLen | int | |
offset | int | |
return | int |
static public ToString ( |
||
cstring | ||
return | string |
static public ToString ( char val, int startIndex, int length ) : string | ||
val | char | |
startIndex | int | |
length | int | |
return | string |