C# Class Framework.HexEncoding

Mostra file Open project: CarlosX/DarkEmu

Public Methods

Method Description
GetByteCount ( string hexString ) : int
GetBytes ( string hexString, int &discarded ) : byte[]
InHexFormat ( string hexString ) : bool
IsHexDigit ( Char c ) : bool
ToString ( byte bytes ) : string

Private Methods

Method Description
HexToByte ( string hex ) : byte

Method Details

GetByteCount() public static method

public static GetByteCount ( string hexString ) : int
hexString string
return int

GetBytes() public static method

public static GetBytes ( string hexString, int &discarded ) : byte[]
hexString string
discarded int
return byte[]

InHexFormat() public static method

public static InHexFormat ( string hexString ) : bool
hexString string
return bool

IsHexDigit() public static method

public static IsHexDigit ( Char c ) : bool
c Char
return bool

ToString() public static method

public static ToString ( byte bytes ) : string
bytes byte
return string