The Java `java.io.ObjectInput.readShort()` method reads a two-byte signed short value from the underlying input stream and returns it as a short. This method is typically used to retrieve short values that were previously written to an object stream using the `writeShort()` method. If the end of the input stream is reached before a complete short value can be read, an `EOFException` is thrown.
Java ObjectInput.readShort - 24 examples found. These are the top rated real world Java examples of java.io.ObjectInput.readShort extracted from open source projects. You can rate examples to help us improve the quality of examples.