Writes a float value,
which is comprised of four bytes, to the output stream.
It does this as if it first converts this
float value to an int
in exactly the manner of the Float.floatToIntBits
method and then writes the int
value in exactly the manner of the writeInt
method. The bytes written by this method
may be read by the readFloat
method of interface DataInput,
which will then return a float
equal to v.
v | the float value to be written. |
IOException | if an I/O error occurs. |
Diagram: ObjectOutputStream