char
value from the source stream.
@throws IOException If a problem occurs reading from this stream.
@see DataOutput#writeChar(int)
readChar
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 achar
.
@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.writeChar()
@throws IOException If an IO exception happened when reading the primitive data.
char
value from the source stream.
@throws IOException If a problem occurs reading from this DataInputStream.
@see DataOutput#writeChar(int)
readUnsignedShort
, except that the result is returned using the char
datatype. The bit offset within the stream is reset to zero before the read occurs. @return an unsigned char 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 #readUnsignedShort
|
|
|
|
|
|
|
|
|
|