Class ConversionHelper
Inheritance
System.Object
ConversionHelper
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Assembly: TimApi.dll
Syntax
public class ConversionHelper
Methods
base64StringToByte(String)
Declaration
public static byte[] base64StringToByte(string s)
Parameters
Type |
Name |
Description |
System.String |
s |
|
Returns
Type |
Description |
System.Byte[] |
|
byteOrNullToBase64String(Byte[])
Declaration
public static string byteOrNullToBase64String(byte[] bytes)
Parameters
Type |
Name |
Description |
System.Byte[] |
bytes |
|
Returns
Type |
Description |
System.String |
|
byteOrNullToHexString(Byte[])
Declaration
public static string byteOrNullToHexString(byte[] bytes)
Parameters
Type |
Name |
Description |
System.Byte[] |
bytes |
|
Returns
Type |
Description |
System.String |
|
byteToBase64String(Byte[])
Declaration
public static string byteToBase64String(byte[] bytes)
Parameters
Type |
Name |
Description |
System.Byte[] |
bytes |
|
Returns
Type |
Description |
System.String |
|
byteToHexString(Byte[])
Declaration
public static string byteToHexString(byte[] bytes)
Parameters
Type |
Name |
Description |
System.Byte[] |
bytes |
|
Returns
Type |
Description |
System.String |
|
hexStringToByte(String)
Declaration
public static byte[] hexStringToByte(string s)
Parameters
Type |
Name |
Description |
System.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 |
System.Collections.Generic.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 |
System.Collections.Generic.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 |
System.Collections.Generic.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 |
System.Collections.Generic.Dictionary<T1, T2> |
map |
|
Returns
Type |
Description |
System.String |
|
Type Parameters