Facebook.Extensions.ToHex C# (CSharp) Method

ToHex() static private method

static private ToHex ( this src ) : string
src this
return string
        internal static string ToHex(this byte[] src)
        {
            StringBuilder sb = new StringBuilder(src.Length * 2);
            foreach (byte b in src)
            {
                sb.AppendFormat("{0:x2}", b);
            }
            return sb.ToString();
        }
#if !SILVERLIGHT