System.IO.BACnet.BacnetIpUdpProtocolTransport.ConvertToHex C# (CSharp) Méthode

ConvertToHex() public static méthode

public static ConvertToHex ( byte buffer, int length ) : string
buffer byte
length int
Résultat string
        public static string ConvertToHex(byte[] buffer, int length)
        {
            string ret = "";

            for (int i = 0; i < length; i++)
                ret += buffer[i].ToString("X2");

            return ret;
        }