public class LittleEndianInputStream
extends java.io.DataInputStream
Constructor and Description |
---|
LittleEndianInputStream(java.io.InputStream in)
Constructor
|
Modifier and Type | Method and Description |
---|---|
char |
readLEChar()
Translates a little endian char into a big endian char
|
double |
readLEDouble()
Reads a little endian double into a big endian double
|
float |
readLEFloat()
Reads a little endian float into a big endian float
|
int |
readLEInt()
Translates a little endian int into a big endian int
|
long |
readLELong()
Translates a little endian long into a big endian long
|
short |
readLEShort()
Translates little endian short to big endian short
|
int |
readLEUnsignedShort()
Translates a little endian unsigned short to big endian int
|
java.lang.String |
readLEUTF() |
java.lang.String |
readString(int length)
Constructs a string from the underlying input stream
|
read, read, readBoolean, readByte, readChar, readDouble, readFloat, readFully, readFully, readInt, readLine, readLong, readShort, readUnsignedByte, readUnsignedShort, readUTF, readUTF, skipBytes
public LittleEndianInputStream(java.io.InputStream in)
in
- An input stream that this is chained to.public java.lang.String readString(int length) throws java.io.IOException
length
- The length of bytes to readjava.io.IOException
public short readLEShort() throws java.io.IOException
java.io.IOException
public int readLEUnsignedShort() throws java.io.IOException
java.io.IOException
public char readLEChar() throws java.io.IOException
java.io.IOException
public int readLEInt() throws java.io.IOException
java.io.IOException
public long readLELong() throws java.io.IOException
java.io.IOException
public java.lang.String readLEUTF() throws java.io.IOException
java.io.IOException
public final double readLEDouble() throws java.io.IOException
java.io.IOException
public final float readLEFloat() throws java.io.IOException
java.io.IOException
Copyright (C) BBNT Solutions LLC; See http://openmap.bbn.com/ for details