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