C# 클래스 S7.Net.Types.String

Contains the methods to convert from S7 strings to C# strings
파일 보기 프로젝트 열기: killnine/s7netplus

공개 메소드들

메소드 설명
FromByteArray ( byte bytes ) : string

Converts S7 bytes to a string

ToByteArray ( string value ) : byte[]

Converts a string to S7 bytes

비공개 메소드들

메소드 설명
Asc ( string s ) : int

메소드 상세

FromByteArray() 공개 정적인 메소드

Converts S7 bytes to a string
public static FromByteArray ( byte bytes ) : string
bytes byte
리턴 string

ToByteArray() 공개 정적인 메소드

Converts a string to S7 bytes
public static ToByteArray ( string value ) : byte[]
value string
리턴 byte[]