|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.io.InputStream
java.io.FilterInputStream
ca.idms.io.NativeDataInputStream
ca.idms.io.LoDataInputStream
public class LoDataInputStream
LoDataInputStream reads numeric types in the low byte first ordering native to the Intel X86 architecture.
DataInput| Field Summary |
|---|
| Fields inherited from class ca.idms.io.NativeDataInputStream |
|---|
dis, fmt |
| Fields inherited from class java.io.FilterInputStream |
|---|
in |
| Method Summary | |
|---|---|
char |
readChar()
Reads a Unicode character as two bytes from the underlying input stream, low order byte first. |
int |
readInt()
Reads a signed 32-bit integer from the underlying data input stream, low order byte first. |
long |
readLong()
Reads a signed 64-bit integer from the underlying data input stream, low order byte first. |
short |
readShort()
Reads a signed 16-bit number as two bytes from the underlying input stream, low order byte first. |
int |
readUnsignedShort()
Reads an unsigned 16-bit number as two bytes from the underlying input stream, low order byte first. |
| Methods inherited from class ca.idms.io.NativeDataInputStream |
|---|
getBuffer, getCount, getFormat, getPosition, readBoolean, readByte, readBytes, readBytesInternal, readBytesKatakana, readDouble, readFloat, readFully, readFully, readGraphic, readLine, readPacked, readUnsignedByte, readUTF, readZoned, setSize, skipBytes, snap, toBigDecimal |
| Methods inherited from class java.io.FilterInputStream |
|---|
available, close, mark, markSupported, read, read, read, reset, skip |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public short readShort()
throws java.io.IOException
readShort in interface java.io.DataInputreadShort in class NativeDataInputStreamjava.io.EOFException - if this input stream reaches
the end before reading two bytes.
java.io.IOException - if an I/O error occurs.
public int readUnsignedShort()
throws java.io.IOException
readUnsignedShort in interface java.io.DataInputreadUnsignedShort in class NativeDataInputStreamjava.io.EOFException - if this input stream reaches
the end before reading two bytes.
java.io.IOException - if an I/O error occurs.
public char readChar()
throws java.io.IOException
readChar in interface java.io.DataInputreadChar in class NativeDataInputStreamjava.io.EOFException - if this input stream reaches the end
before reading two bytes.
java.io.IOException - if an I/O error occurs.
public int readInt()
throws java.io.IOException
readInt in interface java.io.DataInputreadInt in class NativeDataInputStreamjava.io.EOFException - if this input stream reaches the end before
reading four bytes.
java.io.IOException - if an I/O error occurs.
public long readLong()
throws java.io.IOException
readLong in interface java.io.DataInputreadLong in class NativeDataInputStreamjava.io.EOFException - if this input stream reaches the end before
java.io.reading eight bytes.
java.io.IOException - if an I/O error occurs.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||