C# Class S7.Net.Types.String

Contains the methods to convert from S7 strings to C# strings
Afficher le fichier Open project: killnine/s7netplus

Méthodes publiques

Méthode Description
FromByteArray ( byte bytes ) : string

Converts S7 bytes to a string

ToByteArray ( string value ) : byte[]

Converts a string to S7 bytes

Private Methods

Méthode Description
Asc ( string s ) : int

Method Details

FromByteArray() public static méthode

Converts S7 bytes to a string
public static FromByteArray ( byte bytes ) : string
bytes byte
Résultat string

ToByteArray() public static méthode

Converts a string to S7 bytes
public static ToByteArray ( string value ) : byte[]
value string
Résultat byte[]