public class BinaryInputStream extends InputStream
Modifier and Type | Field and Description |
---|---|
static String |
BIG_ENDIAN |
static String |
LITTLE_ENDIAN |
Constructor and Description |
---|
BinaryInputStream(InputStream in,
boolean endian) |
BinaryInputStream(InputStream in,
String endian) |
Modifier and Type | Method and Description |
---|---|
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) |
available, close, mark, markSupported, read, read, reset, skip
public static String LITTLE_ENDIAN
public static String BIG_ENDIAN
public BinaryInputStream(InputStream in, String endian)
public BinaryInputStream(InputStream in, boolean endian)
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
Jas4pp 1.5 © Java Analysis Studio for Particle Physics