readShort
method of DataInput
. Bytes for this operation are read from the contained input stream. @return the next two bytes of this input stream, interpreted as asigned 16-bit number. @exception EOFException if this input stream reaches the end beforereading two bytes. @exception IOException the stream has been closed and the containedinput stream does not support reading after close, or another I/O error occurs. @see java.io.FilterInputStream#in
ObjectOutputStream.writeShort()
@throws IOException If an IO exception happened when reading the primitive data.
short
value from this stream.
@return short the next short
value from the source stream.
@throws IOException If a problem occurs reading from this DataInputStream.
@see DataOutput#writeShort(int)
short
value. The bit offset within the stream is reset to zero before the read occurs. @return a signed short value from the stream. @exception java.io.EOFException if the stream reaches the end beforereading all the bytes. @exception IOException if an I/O error occurs. @see #getByteOrder
SQLInputImpl
object as a short
in the Java programming language. This method does not perform type-safe checking to determine if the returned type is the expected type; this responsibility is delegated to the UDT mapping as defined by a SQLData
implementation.
@return the next attribute in this SQLInputImpl
object;if the value is SQL NULL
, return null
@throws SQLException if the read position is located at an invalidposition or if there are no more values in the stream
DataInput
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|