R
Rajesh.Rapaka
Hi,
I need to copy a float value into a byte array. For which I used to do
the left and right shiftings in case of int.
I believe there is no 2's compliment defined for float.
but then how can we write a float value to a network? I need to get the
bytes of a float value to store it into a byte array and then write the
whole array to the network.
(the array contains various other datatypes. thus the byte array
format).
any help?
Thanks in advance.
Rajesh rapaka.
I need to copy a float value into a byte array. For which I used to do
the left and right shiftings in case of int.
I believe there is no 2's compliment defined for float.
but then how can we write a float value to a network? I need to get the
bytes of a float value to store it into a byte array and then write the
whole array to the network.
(the array contains various other datatypes. thus the byte array
format).
any help?
Thanks in advance.
Rajesh rapaka.