Package org.vast.swe
Class DataInputStreamLI
java.lang.Object
java.io.InputStream
java.io.FilterInputStream
org.vast.swe.DataInputStreamLI
- All Implemented Interfaces:
 Closeable,DataInput,AutoCloseable,DataInputExt
Equivalent of DataInputStream to read little endian ordered streams (i.e. Lower Significant Byte first)
- Since:
 - Nov 28, 2005
 
- 
Field Summary
Fields inherited from class java.io.FilterInputStream
in - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionReads a 0 terminated ASCII string from input streambooleanbytereadByte()charreadChar()doublefloatvoidreadFully(byte[] b) voidreadFully(byte[] b, int off, int len) intreadInt()readLine()longreadLong()shortintlongReads 4 input bytes and returns a long value in the range 0-2^32.longReads 8 input bytes and returns a long value in the range 0-2^63.intreadUTF()intskipBytes(int n) Methods inherited from class java.io.FilterInputStream
available, close, mark, markSupported, read, read, read, reset, skipMethods inherited from class java.io.InputStream
nullInputStream, readAllBytes, readNBytes, readNBytes, skipNBytes, transferToMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.vast.cdm.common.DataInputExt
mark, read, reset 
- 
Constructor Details
- 
DataInputStreamLI
 
 - 
 - 
Method Details
- 
readBoolean
- Specified by:
 readBooleanin interfaceDataInput- Throws:
 IOException
 - 
readByte
- Specified by:
 readBytein interfaceDataInput- Throws:
 IOException
 - 
readUnsignedByte
- Specified by:
 readUnsignedBytein interfaceDataInput- Throws:
 IOException
 - 
readShort
- Specified by:
 readShortin interfaceDataInput- Throws:
 IOException
 - 
readUnsignedShort
- Specified by:
 readUnsignedShortin interfaceDataInput- Throws:
 IOException
 - 
readChar
- Specified by:
 readCharin interfaceDataInput- Throws:
 IOException
 - 
readInt
- Specified by:
 readIntin interfaceDataInput- Throws:
 IOException
 - 
readUnsignedInt
Description copied from interface:DataInputExtReads 4 input bytes and returns a long value in the range 0-2^32.- Specified by:
 readUnsignedIntin interfaceDataInputExt- Returns:
 - long value
 - Throws:
 IOException
 - 
readLong
- Specified by:
 readLongin interfaceDataInput- Throws:
 IOException
 - 
readUnsignedLong
Description copied from interface:DataInputExtReads 8 input bytes and returns a long value in the range 0-2^63. Values greater than 2^63 won't be read correctly since they are not supported by java.- Specified by:
 readUnsignedLongin interfaceDataInputExt- Returns:
 - long value
 - Throws:
 IOException
 - 
readFloat
- Specified by:
 readFloatin interfaceDataInput- Throws:
 IOException
 - 
readDouble
- Specified by:
 readDoublein interfaceDataInput- Throws:
 IOException
 - 
readLine
- Specified by:
 readLinein interfaceDataInput- Throws:
 IOException
 - 
readUTF
- Specified by:
 readUTFin interfaceDataInput- Throws:
 IOException
 - 
readASCII
Description copied from interface:DataInputExtReads a 0 terminated ASCII string from input stream- Specified by:
 readASCIIin interfaceDataInputExt- Returns:
 - string value
 - Throws:
 IOException
 - 
readFully
- Specified by:
 readFullyin interfaceDataInput- Throws:
 IOException
 - 
readFully
- Specified by:
 readFullyin interfaceDataInput- Throws:
 IOException
 - 
skipBytes
- Specified by:
 skipBytesin interfaceDataInput- Throws:
 IOException
 
 -