Writes an int value, which is
comprised of four bytes, to the output stream.
The byte values to be written, in the order
shown, are:
(byte)(0xff & (v >> 24))
(byte)(0xff & (v >> 16))
(byte)(0xff & (v >> 8))
(byte)(0xff & v)
The bytes written by this method may be read
by the readInt method of interface
DataInput , which will then
return an int equal to v.
v | the int value to be written. |
IOException | if an I/O error occurs. |
Diagram: ObjectOutputStream