class CLInputStream extends DataInputStream
in
Constructor and Description |
---|
CLInputStream(InputStream in)
Construct a CLInputStream object from the specified input stream.
|
Modifier and Type | Method and Description |
---|---|
long |
readUnsignedInt()
Read four input bytes and return a long value in the range 0 through
4294967295.
|
read, read, readBoolean, readByte, readChar, readDouble, readFloat, readFully, readFully, readInt, readLine, readLong, readShort, readUnsignedByte, readUnsignedShort, readUTF, readUTF, skipBytes
available, close, mark, markSupported, read, reset, skip
public CLInputStream(InputStream in)
in
- input stream.public final long readUnsignedInt() throws IOException
( b[ 0 ] & 0xFF ) << 24 ) | ( ( b[ 1 ] & 0xFF ) << 16 ) | ( ( b[ 2 ] & 0xFF ) << 8 ) | ( b[ 3 ] & 0xFF )
EOFException
- if this stream reaches the end before reading all the
bytes.IOException
- if an I/O error occurs.