C# Class Backend.Helper.Converter

Afficher le fichier Open project: HerrRiebmann/KDS2Bluetooth

Méthodes publiques

Méthode Description
ByteToHex ( byte comByte ) : string

method to convert a byte array into a hex string

EnumToArray ( Enum enumeration ) : System.Enum[]
HexToByte ( string msg ) : byte[]

method to convert hex string into a byte array

Method Details

ByteToHex() public static méthode

method to convert a byte array into a hex string
public static ByteToHex ( byte comByte ) : string
comByte byte byte array to convert
Résultat string

EnumToArray() public static méthode

public static EnumToArray ( Enum enumeration ) : System.Enum[]
enumeration System.Enum
Résultat System.Enum[]

HexToByte() public static méthode

method to convert hex string into a byte array
public static HexToByte ( string msg ) : byte[]
msg string string to convert
Résultat byte[]