public interface XDRDataInput
Modifier and Type | Method and Description |
---|---|
boolean |
readBoolean()
Read a boolean value.
|
boolean[] |
readBooleanArray()
Read a variable-length array of boolean values.
|
void |
readBooleanVector(boolean[] array)
Read a fixed-length array of boolean values.
|
void |
readBooleanVector(boolean[] array,
int offset,
int length)
Read a fixed-length array of boolean values.
|
byte[] |
readByteArray()
Read a variable-length array of bytes.
|
void |
readByteVector(byte[] array)
Read a fixed-length array of bytes.
|
void |
readByteVector(byte[] array,
int offset,
int length)
Read a fxied-length array of bytes.
|
char |
readChar()
Read a character (8-bit integer) value.
|
double |
readDouble()
Read a double value.
|
double[] |
readDoubleArray()
Read a variable-length array of double values.
|
void |
readDoubleVector(double[] array)
Read a fixed-length array of double values.
|
void |
readDoubleVector(double[] array,
int offset,
int length)
Read a fixed-length array of double values.
|
float |
readFloat()
Read a float value.
|
float[] |
readFloatArray()
Read a variable-length array of float values.
|
void |
readFloatVector(float[] array)
Read a fixed-length array of float values.
|
void |
readFloatVector(float[] array,
int offset,
int length)
Read a fixed-length array of float values.
|
int |
readInt()
Read an int (32-bit integer) value.
|
int[] |
readIntArray()
Read a variable-length array of int values (32-bit integers).
|
void |
readIntVector(int[] array)
Read a fixed-length array of int values (32-bit integers).
|
void |
readIntVector(int[] array,
int offset,
int length)
Read a fixed-length array of int values (32-bit integers).
|
long |
readLong()
Read a long (64-bit integer) value.
|
long[] |
readLongArray()
Read a variable-length array of long values (64-bit integers).
|
void |
readLongVector(long[] array)
Read a fixed-length array of long values (64-bit integers).
|
void |
readLongVector(long[] array,
int offset,
int length)
Read a variable-length array of long values (64-bit integers).
|
short |
readShort()
Read a short (16-bit integer) value.
|
short[] |
readShortArray()
Read a variable-length array of short values (16-bit integers).
|
void |
readShortVector(short[] array)
Read a fixed-length array of short values (16-bit integers).
|
void |
readShortVector(short[] array,
int offset,
int length)
Read a fixed-length array of short values (16-bit integers).
|
String |
readString()
Read a variable-length string.
|
String |
readString(int length)
Read a fixed-length string.
|
long |
readUnsignedInt()
Read an unsigned integer value (coerced to a 64-bit signed Java
long).
|
long[] |
readUnsignedIntArray()
Read a variable-length array of unsigned int values (32-bit
unsigned integers, coerced to 64-bit signed Java longs).
|
void |
readUnsignedIntVector(long[] array)
Read a fixed-length array of unsigned int values (32-bit
unsigned integers, coerced to 64-bit signed Java longs).
|
void |
readUnsignedIntVector(long[] array,
int offset,
int length)
Read a fixed-length array of unsigned int values (32-bit
unsigned integers, coerced to 64-bit signed Java longs).
|
int |
readUnsignedShort()
Read an unsigned short (unsigned 16-bit integer value, coerced to a Java
int).
|
int[] |
readUnsignedShortArray()
Read a variable-length array of unsigned short values
(16-bit unsigned integers, coerced to 32-bit signed Java ints).
|
void |
readUnsignedShortVector(int[] array)
Read a fixed-length array of unsigned short values
(16-bit unsigned integers, coerced to 32-bit signed Java ints).
|
void |
readUnsignedShortVector(int[] array,
int offset,
int length)
Read a fixed-length array of unsigned short values
(16-bit unsigned integers, coerced to 32-bit signed Java ints).
|
boolean readBoolean() throws IOException
IOException
char readChar() throws IOException
IOException
short readShort() throws IOException
IOException
int readUnsignedShort() throws IOException
IOException
int readInt() throws IOException
IOException
long readUnsignedInt() throws IOException
IOException
long readLong() throws IOException
IOException
float readFloat() throws IOException
IOException
double readDouble() throws IOException
IOException
String readString() throws IOException
IOException
String readString(int length) throws IOException
length
- The length of the string.IOException
boolean[] readBooleanArray() throws IOException
IOException
void readBooleanVector(boolean[] array) throws IOException
array
- The array to read into.IOException
void readBooleanVector(boolean[] array, int offset, int length) throws IOException
array
- The array to read into.offset
- The offset in the array in which to begin storing values.length
- The number of values to read.IOException
byte[] readByteArray() throws IOException
IOException
void readByteVector(byte[] array) throws IOException
array
- The array to read into.IOException
void readByteVector(byte[] array, int offset, int length) throws IOException
array
- The array to read into.offset
- The offset in the array in which to begin storing values.length
- The number of values to read.IOException
short[] readShortArray() throws IOException
IOException
void readShortVector(short[] array) throws IOException
array
- The array to read into.IOException
void readShortVector(short[] array, int offset, int length) throws IOException
array
- The array to read into.offset
- The offset in the array in which to begin storing values.length
- The number of values to read.IOException
int[] readUnsignedShortArray() throws IOException
IOException
void readUnsignedShortVector(int[] array) throws IOException
array
- The array to read into.IOException
void readUnsignedShortVector(int[] array, int offset, int length) throws IOException
array
- The array to read into.offset
- The offset in the array in which to begin storing values.length
- The number of values to read.IOException
int[] readIntArray() throws IOException
IOException
void readIntVector(int[] array) throws IOException
array
- The array to read into.IOException
void readIntVector(int[] array, int offset, int length) throws IOException
array
- The array to read into.offset
- The offset in the array in which to begin storing values.length
- The number of values to read.IOException
long[] readUnsignedIntArray() throws IOException
IOException
void readUnsignedIntVector(long[] array) throws IOException
array
- The array to read into.IOException
void readUnsignedIntVector(long[] array, int offset, int length) throws IOException
array
- The array to read into.offset
- The offset in the array in which to begin storing values.length
- The number of values to read.IOException
long[] readLongArray() throws IOException
IOException
void readLongVector(long[] array) throws IOException
array
- The array to read into.IOException
void readLongVector(long[] array, int offset, int length) throws IOException
array
- The array to read into.offset
- The offset in the array in which to begin storing values.length
- The number of values to read.IOException
float[] readFloatArray() throws IOException
IOException
void readFloatVector(float[] array) throws IOException
array
- The array to read into.IOException
void readFloatVector(float[] array, int offset, int length) throws IOException
array
- The array to read into.offset
- The offset in the array in which to begin storing values.length
- The number of values to read.IOException
double[] readDoubleArray() throws IOException
IOException
void readDoubleVector(double[] array) throws IOException
array
- The array to read into.IOException
void readDoubleVector(double[] array, int offset, int length) throws IOException
array
- The array to read into.offset
- The offset in the array in which to begin storing values.length
- The number of values to read.IOException
WebARTS Library Licensed Under the GNU - General Public License. Other Libraries licensed under their respective Open Source Licenses