|
|||||||||
PREV CLASS NEXT CLASS | All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.io.InputStream
jhplot.math.io.BinaryInputStream
public class BinaryInputStream
BSD License
Field Summary | |
---|---|
static String |
BIG_ENDIAN
|
static String |
LITTLE_ENDIAN
|
Constructor Summary | |
---|---|
BinaryInputStream(InputStream in,
boolean endian)
|
|
BinaryInputStream(InputStream in,
String endian)
|
Method Summary | |
---|---|
int |
read()
Read a binary File |
byte |
readByte()
Read a binary File |
byte[] |
readByteArray()
Read a binary File |
double |
readDouble()
Read a binary File |
double[] |
readDoubleArray()
Read a binary File |
static double[] |
readDoubleArray(InputStream in,
String endian)
|
double[] |
readDoubleArray(int n1,
int n2)
Read a binary File |
float |
readFloat()
Read a binary File |
float[] |
readFloatArray()
Read a binary File |
static float[] |
readFloatArray(InputStream in,
String endian)
|
int |
readInt()
Read a binary File |
int[] |
readIntArray()
Read a binary File |
static int[] |
readIntArray(InputStream in,
String endian)
|
Methods inherited from class java.io.InputStream |
---|
available, close, mark, markSupported, read, read, reset, skip |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static String LITTLE_ENDIAN
public static String BIG_ENDIAN
Constructor Detail |
---|
public BinaryInputStream(InputStream in, String endian)
public BinaryInputStream(InputStream in, boolean endian)
Method Detail |
---|
public static double[] readDoubleArray(InputStream in, String endian)
public static float[] readFloatArray(InputStream in, String endian)
public static int[] readIntArray(InputStream in, String endian)
public int[] readIntArray()
public float[] readFloatArray()
public double[] readDoubleArray()
public double[] readDoubleArray(int n1, int n2)
public byte[] readByteArray()
public int readInt()
public float readFloat()
public double readDouble()
public byte readByte()
public int read()
read
in class InputStream
|
|||||||||
PREV CLASS NEXT CLASS | All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |