M mei xiao Jul 8, 2004 #1 Hi, there, I want to change an integer into 4 bytes, what should I do? Thank you. -May
J Jay B. Harlow [MVP - Outlook] Jul 8, 2004 #2 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
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