Write the data and fields to the specified ObjectOutput stream,
which must be the same stream that produced this
PutField
object.
Parameters:
-
out - the stream to write the data and fields to
Throws:
-
IOException - if I/O errors occur while writing to the
underlying stream
-
IllegalArgumentException - if the specified stream is not
the same stream that produced this
PutField
object