C# Class hpack.Hex

Datei anzeigen Open project: ringostarr80/hpack

Public Methods

Method Description
DecodeHex ( char data ) : sbyte[]
EncodeHex ( byte data ) : char[]
EncodeHex ( byte data, bool toLowerCase ) : char[]
EncodeHexString ( byte data ) : String

Protected Methods

Method Description
EncodeHex ( byte data, char toDigits ) : char[]
ToDigit ( char ch, int index ) : int

Method Details

DecodeHex() public static method

public static DecodeHex ( char data ) : sbyte[]
data char
return sbyte[]

EncodeHex() public static method

public static EncodeHex ( byte data ) : char[]
data byte
return char[]

EncodeHex() public static method

public static EncodeHex ( byte data, bool toLowerCase ) : char[]
data byte
toLowerCase bool
return char[]

EncodeHex() protected static method

protected static EncodeHex ( byte data, char toDigits ) : char[]
data byte
toDigits char
return char[]

EncodeHexString() public static method

public static EncodeHexString ( byte data ) : String
data byte
return String

ToDigit() protected static method

protected static ToDigit ( char ch, int index ) : int
ch char
index int
return int