org.sourceforge.jxutil.io
Class DataInputStreamLE
java.lang.Object
|
+--java.io.InputStream
|
+--java.io.FilterInputStream
|
+--org.sourceforge.jxutil.io.DataInputStreamLE
- All Implemented Interfaces:
- DataInput
- public final class DataInputStreamLE
- extends FilterInputStream
- implements DataInput
A data input stream that uses Little Endian semantics.
- See Also:
DataInputStream
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DataInputStreamLE
public DataInputStreamLE(InputStream in)
readBoolean
public final boolean readBoolean()
throws IOException
- Specified by:
readBoolean in interface DataInput
IOException
readByte
public final byte readByte()
throws IOException
- Specified by:
readByte in interface DataInput
IOException
readChar
public final char readChar()
throws IOException
- Specified by:
readChar in interface DataInput
IOException
readDouble
public final double readDouble()
throws IOException
- Specified by:
readDouble in interface DataInput
IOException
readFloat
public final float readFloat()
throws IOException
- Specified by:
readFloat in interface DataInput
IOException
readFully
public final void readFully(byte[] buf)
throws IOException
- Specified by:
readFully in interface DataInput
IOException
readFully
public final void readFully(byte[] buf,
int off,
int len)
throws IOException
- Specified by:
readFully in interface DataInput
IOException
readInt
public final int readInt()
throws IOException
- Specified by:
readInt in interface DataInput
IOException
readLine
public final String readLine()
throws IOException
- Specified by:
readLine in interface DataInput
IOException
readLong
public final long readLong()
throws IOException
- Specified by:
readLong in interface DataInput
IOException
readShort
public final short readShort()
throws IOException
- Specified by:
readShort in interface DataInput
IOException
readUnsignedByte
public final int readUnsignedByte()
throws IOException
- Specified by:
readUnsignedByte in interface DataInput
IOException
readUnsignedShort
public final int readUnsignedShort()
throws IOException
- Specified by:
readUnsignedShort in interface DataInput
IOException
readUTF
public final String readUTF()
throws IOException
- Specified by:
readUTF in interface DataInput
IOException
skipBytes
public final int skipBytes(int num)
throws IOException
- Specified by:
skipBytes in interface DataInput
IOException
Copyright © 2001,2002 Keve Müller, et al.; see LICENSE file for details.