Code example for ObjectInputStream

Methods: readBoolean, readInt, readLong, readUTF