public interface BinaryInputStream extends BinaryStream, BinaryPositionReadable
Modifier and Type | Method and Description |
---|---|
int |
read(byte[] arr,
int off,
int cnt)
Reads
cnt of bytes into byte array. |
boolean |
readBoolean()
Read boolean value.
|
boolean[] |
readBooleanArray(int cnt)
Read boolean array.
|
byte |
readByte()
Read byte value.
|
byte[] |
readByteArray(int cnt)
Read byte array.
|
char |
readChar()
Read char value.
|
char[] |
readCharArray(int cnt)
Read char array.
|
double |
readDouble()
Read double value.
|
double[] |
readDoubleArray(int cnt)
Read double array.
|
float |
readFloat()
Read float value.
|
float[] |
readFloatArray(int cnt)
Read float array.
|
int |
readInt()
Read int value.
|
int[] |
readIntArray(int cnt)
Read int array.
|
long |
readLong()
Read long value.
|
long[] |
readLongArray(int cnt)
Read long array.
|
short |
readShort()
Read short value.
|
short[] |
readShortArray(int cnt)
Read short array.
|
int |
remaining()
Gets amount of remaining data in bytes.
|
array, arrayCopy, capacity, hasArray, offheapPointer, position, position, rawOffheapPointer
readBytePositioned, readIntPositioned, readShortPositioned
byte readByte()
byte[] readByteArray(int cnt)
cnt
- Expected item count.int read(byte[] arr, int off, int cnt)
cnt
of bytes into byte array.arr
- Expected item count.off
- offsetcnt
- number of bytes to read.boolean readBoolean()
boolean[] readBooleanArray(int cnt)
cnt
- Expected item count.short readShort()
short[] readShortArray(int cnt)
cnt
- Expected item count.char readChar()
char[] readCharArray(int cnt)
cnt
- Expected item count.int readInt()
int[] readIntArray(int cnt)
cnt
- Expected item count.float readFloat()
float[] readFloatArray(int cnt)
cnt
- Expected item count.long readLong()
long[] readLongArray(int cnt)
cnt
- Expected item count.double readDouble()
double[] readDoubleArray(int cnt)
cnt
- Expected item count.int remaining()
Follow @ApacheIgnite
Ignite Fabric : ver. 2.0.0 Release Date : April 30 2017