Be.Windows.Forms.HexBox.ConvertByteToHex C# (CSharp) Метод

ConvertByteToHex() приватный Метод

Converts the byte to a hex string. For example: "10" = "0A";
private ConvertByteToHex ( byte b ) : string
b byte the byte to format
Результат 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>
HexBox