C# 클래스 HomeAutomation.Util.HexConverter

Converts between hex strings and byte arrays.
파일 보기 프로젝트 열기: moszinet/HomeAutomation

공개 메소드들

메소드 설명
BytesFromSpacedString ( this hexString ) : byte[]

Removes all spaces from hex string, and return the byte[] representation.

BytesFromString ( this hexString ) : byte[]

Parses the hex string and returns it's byte representation.

ToHexString ( this bytes ) : string

Converts the byte array to a simple non-spaced hex string.

ToHexString ( this bytes, int offset, int length ) : string

Converts the byte array to a simple non-spaced hex string.

ToSpacedHexString ( this bytes ) : string

Converts the byte array to a spaced hex string.

ToSpacedHexString ( this bytes, int offset, int length ) : string

Converts the byte array to a spaced hex string.

메소드 상세

BytesFromSpacedString() 공개 정적인 메소드

Removes all spaces from hex string, and return the byte[] representation.
public static BytesFromSpacedString ( this hexString ) : byte[]
hexString this
리턴 byte[]

BytesFromString() 공개 정적인 메소드

Parses the hex string and returns it's byte representation.
public static BytesFromString ( this hexString ) : byte[]
hexString this
리턴 byte[]

ToHexString() 공개 정적인 메소드

Converts the byte array to a simple non-spaced hex string.
public static ToHexString ( this bytes ) : string
bytes this
리턴 string

ToHexString() 공개 정적인 메소드

Converts the byte array to a simple non-spaced hex string.
public static ToHexString ( this bytes, int offset, int length ) : string
bytes this
offset int
length int
리턴 string

ToSpacedHexString() 공개 정적인 메소드

Converts the byte array to a spaced hex string.
public static ToSpacedHexString ( this bytes ) : string
bytes this
리턴 string

ToSpacedHexString() 공개 정적인 메소드

Converts the byte array to a spaced hex string.
public static ToSpacedHexString ( this bytes, int offset, int length ) : string
bytes this
offset int
length int
리턴 string