@Deprecated
public class BeLeDataInputStream
extends java.io.DataInputStream
| Constructor and Description |
|---|
BeLeDataInputStream(java.io.InputStream inputStream)
Deprecated.
Construct a bigEndian-littleEndian input stream from an input stream.
|
BeLeDataInputStream(java.lang.String filename)
Deprecated.
Construct a bigEndian-littleEndian input stream from a file.
|
BeLeDataInputStream(java.net.URL url)
Deprecated.
Construct a bigEndian-littleEndian input stream from a URL.
|
| Modifier and Type | Method and Description |
|---|---|
double |
readLEDouble()
Deprecated.
read a double in little endian format
|
void |
readLEDoubles(double[] d,
int n)
Deprecated.
Reads
n little-endian doubles from a random access file. |
int |
readLEInt()
Deprecated.
read an int in little endian format
|
long |
readLELong()
Deprecated.
read a long in little endian format
|
void |
readLELongs(long[] lbuf,
int n)
Deprecated.
Reads
n little-endian longs from a random access file. |
read, read, readBoolean, readByte, readChar, readDouble, readFloat, readFully, readFully, readInt, readLine, readLong, readShort, readUnsignedByte, readUnsignedShort, readUTF, readUTF, skipBytespublic BeLeDataInputStream(java.io.InputStream inputStream)
inputStream - from which to readpublic BeLeDataInputStream(java.lang.String filename)
throws java.io.IOException
filename - of filejava.io.IOExceptionpublic BeLeDataInputStream(java.net.URL url)
throws java.io.IOException
url - of remote datajava.io.IOExceptionpublic int readLEInt()
throws java.io.IOException
java.io.IOExceptionpublic double readLEDouble()
throws java.io.IOException
java.io.IOExceptionpublic final void readLEDoubles(double[] d,
int n)
throws java.io.IOException
n little-endian doubles from a random access file.
This method is provided for speed when accessing a number of consecutive values of the same type.
d - the buffer into which the doubles are readn - number of little-endian doubles to readjava.io.IOExceptionpublic long readLELong()
throws java.io.IOException
java.io.IOExceptionpublic final void readLELongs(long[] lbuf,
int n)
throws java.io.IOException
n little-endian longs from a random access file.
This method is provided for speed when accessing a number of consecutive values of the same type.
lbuf - the buffer into which the longs are readn - the number of little-endian longs to readjava.io.IOException