private ConvertByteToHex ( byte b ) : string | ||
b | byte | the byte to format |
return | string |
string ConvertByteToHex(byte b)
{
string sB = b.ToString(_hexStringFormat, System.Threading.Thread.CurrentThread.CurrentCulture);
if (sB.Length == 1)
sB = "0" + sB;
return sB;
}
/// <summary>