interger to binary

  • Thread starter Thread starter mei xiao
  • Start date Start date
M

mei xiao

Hi, there,

I want to change an integer into 4 bytes, what should I do? Thank you.

-May
 
May,
Have you tried the System.BitConverter.GetBytes method?

System.BitConvert has a number of shared methods for converting base types
to & from byte arrays.

Hope this helps
Jay
 
Back
Top