S
steve
I'd like to take the value of an int and put the value into a byte array.
Basically the hexidecimal representation of an integer, with out having to
convert the integer to a string and then to a byte.
for example:
int myInt = 800;
// I realize this function doesn't exist but this is what I want to
accomplish
byte[] myByteArray = myInt.GetBytes();
Basically the hexidecimal representation of an integer, with out having to
convert the integer to a string and then to a byte.
for example:
int myInt = 800;
// I realize this function doesn't exist but this is what I want to
accomplish
byte[] myByteArray = myInt.GetBytes();