C# 클래스 Thinktecture.IdentityModel.HexEncoder

Helper class for hex-encoding related work
파일 보기 프로젝트 열기: IdentityModel/Thinktecture.IdentityModel.v1

공개 메소드들

메소드 설명
ConvertHexDigit ( char val ) : int

Converts hex to digit.

DecodeHexString ( string hexString ) : byte[]

Decodes a hex string.

EncodeHexString ( byte sArray ) : string

Encodes a hex string.

비공개 메소드들

메소드 설명
EncodeHexStringFromInt ( byte sArray ) : string
HexDigit ( int num ) : char

메소드 상세

ConvertHexDigit() 공개 정적인 메소드

Converts hex to digit.
public static ConvertHexDigit ( char val ) : int
val char The hex value
리턴 int

DecodeHexString() 공개 정적인 메소드

Decodes a hex string.
public static DecodeHexString ( string hexString ) : byte[]
hexString string The hex string.
리턴 byte[]

EncodeHexString() 공개 정적인 메소드

Encodes a hex string.
public static EncodeHexString ( byte sArray ) : string
sArray byte The s array.
리턴 string