public interface GridPortableInputStream extends GridPortableStream
| Modifier and Type | Method and Description |
|---|---|
void |
length(int len)
Length of data inside array.
|
int |
read(byte[] arr,
int off,
int len)
Read data to byte array.
|
int |
read(long addr,
int len)
Read data to the given address.
|
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 |
readInt(int pos)
Read int value at the given position.
|
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, hasArray, offheapPointer, position, positionbyte readByte()
byte[] readByteArray(int cnt)
cnt - Expected item count.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 readInt(int pos)
pos - Position.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 read(byte[] arr,
int off,
int len)
arr - Array.off - Offset.len - Length.int read(long addr,
int len)
addr - Address.len - Length.int remaining()
void length(int len)
len - Length.
Follow @ApacheIgnite
Ignite Fabric : ver. 1.0.0-RC3 Release Date : March 24 2015