entity.MetaEditor2.MetaEditorControlPage.toHex C# (CSharp) 메소드

toHex() 개인적인 메소드

private toHex ( byte value ) : string
value byte
리턴 string
        private string toHex(byte[] value)
        {
            string tempS = string.Empty;
            for (int i = value.Length - 1; i >= 0; i--)
            {
                int ii = value[i] >> 4;
                tempS += (char)(ii < 10 ? 48 + ii : 65 + ii - 10);
                ii = value[i] & 0x0f;
                tempS += (char)(ii < 10 ? 48 + ii : 65 + ii - 10);
                if (i != 0)
                    tempS += '-';
            }
            return tempS;
        }

Same methods

MetaEditorControlPage::toHex ( int value ) : string