How to convert a float to a 4 byte array.
C#
3
Posts
2
Posters
0
Views
1
Watching
-
Also i would appreciate to know if there is a way to convert anything into a byte array ? (Like a class or a structure). This will help me to send data over network.
-
Also i would appreciate to know if there is a way to convert anything into a byte array ? (Like a class or a structure). This will help me to send data over network.
-
BitConverter.GetBytes(float) :) leppie::AllocCPArticle("Zee blog");
Seen on my Campus BBS: Linux is free...coz no-one wants to pay for it.Wow. I didnot know such thing exist. Thx very much :).