Code example for ObjectOutput

Methods: writeBoolean, writeDouble, writeFloat, writeInt, writeLong, writeUTF