private ConvertHexToByte ( string hex, byte &b ) : bool | ||
hex | string | |
b | byte | |
return | bool |
bool ConvertHexToByte(string hex, out byte b)
{
bool isByte = byte.TryParse(hex, System.Globalization.NumberStyles.HexNumber, System.Threading.Thread.CurrentThread.CurrentCulture, out b);
return isByte;
}