메소드 | 설명 | |
---|---|---|
Base64StringToBytes ( string value ) : byte[] |
Converts Base64 encoded string to byte array
|
|
BoolToBytes ( bool value ) : byte[] |
Converts bool to byte array
|
|
BytesToBase64String ( byte value ) : string |
Converts byte array to Base64 encoded string
|
|
BytesToBool ( byte value ) : bool |
Converts byte array to bool
|
|
BytesToHexString ( byte value ) : string |
Converts byte array to hex encoded string
|
|
BytesToUInt ( byte value ) : uint |
Converts byte array to uint
|
|
BytesToULong ( byte value ) : ulong |
Converts byte array to ulong
|
|
BytesToUtf8String ( byte value ) : string |
Converts byte array (not null terminated) to UTF-8 string
|
|
BytesToUtf8String ( byte value, bool trimEnd ) : string |
Converts byte array to UTF-8 string (not null terminated)
|
|
BytesToUtf8String ( byte value, int index, int count ) : string |
Converts specified range of byte array to UTF-8 string (not null terminated)
|
|
HexStringToBytes ( string value ) : byte[] |
Converts hex encoded string to byte array
|
|
UIntToBytes ( uint value ) : byte[] |
Converts uint to byte array
|
|
ULongToBytes ( ulong value ) : byte[] |
Converts ulong to byte array
|
|
UtcTimeStringToDateTime ( string utcTime ) : DateTime? |
Converts string with UTC time to DateTime
|
|
Utf8StringToBytes ( string value ) : byte[] |
Converts UTF-8 string to byte array (not null terminated)
|
|
Utf8StringToBytes ( string value, int outputLength, byte paddingByte ) : byte[] |
Converts UTF-8 string to byte array padded or trimmed to specified length
|
public static Base64StringToBytes ( string value ) : byte[] | ||
value | string | String that should be converted |
리턴 | byte[] |
public static BoolToBytes ( bool value ) : byte[] | ||
value | bool | Bool that should be converted |
리턴 | byte[] |
public static BytesToBase64String ( byte value ) : string | ||
value | byte | Byte array that should be converted |
리턴 | string |
public static BytesToBool ( byte value ) : bool | ||
value | byte | Byte array that should be converted |
리턴 | bool |
public static BytesToHexString ( byte value ) : string | ||
value | byte | Byte array that should be converted |
리턴 | string |
public static BytesToUInt ( byte value ) : uint | ||
value | byte | Byte array that should be converted |
리턴 | uint |
public static BytesToULong ( byte value ) : ulong | ||
value | byte | Byte array that should be converted |
리턴 | ulong |
public static BytesToUtf8String ( byte value ) : string | ||
value | byte | Byte array that should be converted |
리턴 | string |
public static BytesToUtf8String ( byte value, bool trimEnd ) : string | ||
value | byte | Byte array that should be converted |
trimEnd | bool | Flag indicating whether white space characters should be removed from the end of resulting string |
리턴 | string |
public static BytesToUtf8String ( byte value, int index, int count ) : string | ||
value | byte | Byte array that should be processed |
index | int | Starting index of bytes to decode |
count | int | Number of bytes to decode |
리턴 | string |
public static HexStringToBytes ( string value ) : byte[] | ||
value | string | String that should be converted |
리턴 | byte[] |
public static UIntToBytes ( uint value ) : byte[] | ||
value | uint | Uint that should be converted |
리턴 | byte[] |
public static ULongToBytes ( ulong value ) : byte[] | ||
value | ulong | Uint that should be converted |
리턴 | byte[] |
public static UtcTimeStringToDateTime ( string utcTime ) : DateTime? | ||
utcTime | string | UTC time that should be converted (formatted as string of length 16 represented in the format YYYYMMDDhhmmssxx). |
리턴 | DateTime? |
public static Utf8StringToBytes ( string value ) : byte[] | ||
value | string | String that should be converted |
리턴 | byte[] |
public static Utf8StringToBytes ( string value, int outputLength, byte paddingByte ) : byte[] | ||
value | string | String that should be converted |
outputLength | int | Expected length of byte array |
paddingByte | byte | Padding byte that will be used for padding to expected length |
리턴 | byte[] |