1
what I want to do is possible? convert the value variable to Hex.
private void button1_Click(object sender, EventArgs e)
{
int value = 255;
byte[] buffer = new byte[5];
buffer[0] = 0xff;
buffer[1] = value; //eu preciso converter esse value para hex.
//igual ao buffer[0] , tem como?
}
Explain better what you want to do, do you want to print the value in hexadecimal? Hexadecimal is just a representation, number is number, no conversion required.
– Maniero
It would be the same as here: http://answall.com/q/181044/101
– Maniero
thanks for the reply, I managed to do what I wanted.
– Brayan Fernandes