Public Member Functions | |
IStreamFile (NameFile name) throws IOException | |
Creates a new instance of IStreamFile. | |
IStreamFile (byte[] input) | |
Creates an IStreamFile that reads from a byte[] rather than a file directly. | |
boolean | readBoolean (String name) throws java.io.IOException |
boolean[] | readBooleanArray (String name) throws java.io.IOException |
byte | readByte (String name) throws java.io.IOException |
byte[] | readByteArray (String name) throws java.io.IOException |
double | readDouble (String name) throws java.io.IOException |
double[] | readDoubleArray (String name) throws java.io.IOException |
float | readFloat (String name) throws java.io.IOException |
float[] | readFloatArray (String name) throws java.io.IOException |
int | readInt (String name) throws java.io.IOException |
int[] | readIntArray (String name) throws java.io.IOException |
long | readLong (String name) throws java.io.IOException |
long[] | readLongArray (String name) throws java.io.IOException |
short | readShort (String name) throws java.io.IOException |
short[] | readShortArray (String name) throws java.io.IOException |
String | readString (String name) throws java.io.IOException |
String[] | readStringArray (String name) throws java.io.IOException |
Private Member Functions | |
void | align (Buffer a, Buffer b) |
Ensures that b's position is the same as a's. | |
Private Attributes | |
ByteBuffer | buffer |
Definition at line 17 of file IStreamFile.java.