Class ConversionHelper
Inheritance
System.Object
ConversionHelper
Assembly: TimApi.dll
Syntax
public class ConversionHelper : object
Methods
base64StringToByte(String)
Declaration
public static byte[] base64StringToByte(String s)
Parameters
Type |
Name |
Description |
String |
s |
|
Returns
Type |
Description |
System.Byte[] |
|
byteOrNullToBase64String(Byte[])
Declaration
public static String byteOrNullToBase64String(byte[] bytes)
Parameters
Type |
Name |
Description |
System.Byte[] |
bytes |
|
Returns
byteOrNullToHexString(Byte[])
Declaration
public static String byteOrNullToHexString(byte[] bytes)
Parameters
Type |
Name |
Description |
System.Byte[] |
bytes |
|
Returns
byteToBase64String(Byte[])
Declaration
public static String byteToBase64String(byte[] bytes)
Parameters
Type |
Name |
Description |
System.Byte[] |
bytes |
|
Returns
byteToHexString(Byte[])
Declaration
public static String byteToHexString(byte[] bytes)
Parameters
Type |
Name |
Description |
System.Byte[] |
bytes |
|
Returns
hexStringToByte(String)
Declaration
public static byte[] hexStringToByte(String s)
Parameters
Type |
Name |
Description |
String |
s |
|
Returns
Type |
Description |
System.Byte[] |
|
QuotedOrNull(String)
Declaration
public static string QuotedOrNull(string s)
Parameters
Type |
Name |
Description |
System.String |
s |
|
Returns
Type |
Description |
System.String |
|
ToString<T>(T)
Declaration
public static string ToString<T>(T s)
Parameters
Type |
Name |
Description |
T |
s |
|
Returns
Type |
Description |
System.String |
|
Type Parameters
ToString<T>(List<T>)
Declaration
public static string ToString<T>(List<T> array)
Parameters
Type |
Name |
Description |
List<T> |
array |
|
Returns
Type |
Description |
System.String |
|
Type Parameters
ToString<T1, T2>(Dictionary<T1, T2>)
Declaration
public static string ToString<T1, T2>(Dictionary<T1, T2> map)
Parameters
Type |
Name |
Description |
Dictionary<T1, T2> |
map |
|
Returns
Type |
Description |
System.String |
|
Type Parameters
ToStringOrNull<T>(List<T>)
Declaration
public static string ToStringOrNull<T>(List<T> array)
Parameters
Type |
Name |
Description |
List<T> |
array |
|
Returns
Type |
Description |
System.String |
|
Type Parameters
ToStringOrNull<T1, T2>(Dictionary<T1, T2>)
Declaration
public static string ToStringOrNull<T1, T2>(Dictionary<T1, T2> map)
Parameters
Type |
Name |
Description |
Dictionary<T1, T2> |
map |
|
Returns
Type |
Description |
System.String |
|
Type Parameters