public class PlatformBigEndianInputStreamImpl extends PlatformInputStreamImpl
Constructor and Description |
---|
PlatformBigEndianInputStreamImpl(PlatformMemory mem)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
byte |
readBytePositioned(int pos)
Read byte at the given position.
|
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.
|
int |
readIntPositioned(int pos)
Read integer at the given position.
|
long |
readLong()
Read long value.
|
long[] |
readLongArray(int cnt)
Read long array.
|
short |
readShort()
Read short value.
|
short[] |
readShortArray(int cnt)
Read short array.
|
short |
readShortPositioned(int pos)
Read short at the given position.
|
array, arrayCopy, capacity, hasArray, offheapPointer, position, position, rawOffheapPointer, read, readBoolean, readBooleanArray, readByte, readByteArray, remaining, synchronize
public PlatformBigEndianInputStreamImpl(PlatformMemory mem)
mem
- Memory chunk.public short readShort()
readShort
in interface BinaryInputStream
readShort
in class PlatformInputStreamImpl
public short[] readShortArray(int cnt)
readShortArray
in interface BinaryInputStream
readShortArray
in class PlatformInputStreamImpl
cnt
- Expected item count.public char readChar()
readChar
in interface BinaryInputStream
readChar
in class PlatformInputStreamImpl
public char[] readCharArray(int cnt)
readCharArray
in interface BinaryInputStream
readCharArray
in class PlatformInputStreamImpl
cnt
- Expected item count.public int readInt()
readInt
in interface BinaryInputStream
readInt
in class PlatformInputStreamImpl
public byte readBytePositioned(int pos)
readBytePositioned
in interface BinaryPositionReadable
readBytePositioned
in class PlatformInputStreamImpl
pos
- Position.public short readShortPositioned(int pos)
readShortPositioned
in interface BinaryPositionReadable
readShortPositioned
in class PlatformInputStreamImpl
pos
- Position.public int readIntPositioned(int pos)
readIntPositioned
in interface BinaryPositionReadable
readIntPositioned
in class PlatformInputStreamImpl
pos
- Position.public int[] readIntArray(int cnt)
readIntArray
in interface BinaryInputStream
readIntArray
in class PlatformInputStreamImpl
cnt
- Expected item count.public float readFloat()
readFloat
in interface BinaryInputStream
readFloat
in class PlatformInputStreamImpl
public float[] readFloatArray(int cnt)
readFloatArray
in interface BinaryInputStream
readFloatArray
in class PlatformInputStreamImpl
cnt
- Expected item count.public long readLong()
readLong
in interface BinaryInputStream
readLong
in class PlatformInputStreamImpl
public long[] readLongArray(int cnt)
readLongArray
in interface BinaryInputStream
readLongArray
in class PlatformInputStreamImpl
cnt
- Expected item count.public double readDouble()
readDouble
in interface BinaryInputStream
readDouble
in class PlatformInputStreamImpl
public double[] readDoubleArray(int cnt)
readDoubleArray
in interface BinaryInputStream
readDoubleArray
in class PlatformInputStreamImpl
cnt
- Expected item count.
Follow @ApacheIgnite
Ignite Fabric : ver. 2.0.0 Release Date : April 30 2017