readBoolean
public boolean readBoolean()
throws IOException,
EOFException- the true if the byte read is zero, otherwise false
readByte
public byte readByte()
throws IOException,
EOFException Invokes the delegate's read() method.
- the byte read or -1 if the end of stream
readChar
public char readChar()
throws IOException,
EOFException- the byte read or -1 if the end of stream
readDouble
public double readDouble()
throws IOException,
EOFException
readFloat
public float readFloat()
throws IOException,
EOFException
readFully
public void readFully(byte[] data)
throws IOException,
EOFException Invokes the delegate's read(byte[] data, int, int) method.
data - the buffer to read the bytes into
readFully
public void readFully(byte[] data,
int offset,
int length)
throws IOException,
EOFException Invokes the delegate's read(byte[] data, int, int) method.
data - the buffer to read the bytes intooffset - The start offsetlength - The number of bytes to read
readInt
public int readInt()
throws IOException,
EOFException
readLine
public String readLine()
throws IOException,
EOFException Not currently supported - throws UnsupportedOperationException.
readLong
public long readLong()
throws IOException,
EOFException
readShort
public short readShort()
throws IOException,
EOFException
readUTF
public String readUTF()
throws IOException,
EOFException Not currently supported - throws UnsupportedOperationException.
readUnsignedByte
public int readUnsignedByte()
throws IOException,
EOFException Invokes the delegate's read() method.
- the byte read or -1 if the end of stream
readUnsignedShort
public int readUnsignedShort()
throws IOException,
EOFException
skipBytes
public int skipBytes(int count)
throws IOException,
EOFException Invokes the delegate's skip(int) method.
count - the number of bytes to skip
- the number of bytes to skipped or -1 if the end of stream