public abstract class PortableAbstractStream extends Object implements PortableStream
| Modifier and Type | Field and Description |
|---|---|
protected static long |
BOOLEAN_ARR_OFF
Array offset: boolean.
|
protected static long |
BYTE_ARR_OFF
Array offset: byte.
|
protected static byte |
BYTE_ONE
Byte: one.
|
protected static byte |
BYTE_ZERO
Byte: zero.
|
protected static long |
CHAR_ARR_OFF
Array offset: char.
|
protected static long |
DOUBLE_ARR_OFF
Array offset: double.
|
protected static long |
FLOAT_ARR_OFF
Array offset: float.
|
protected static long |
INT_ARR_OFF
Array offset: int.
|
protected static boolean |
LITTLE_ENDIAN
Whether little endian is used on the platform.
|
protected static long |
LONG_ARR_OFF
Array offset: long.
|
protected int |
pos
Position.
|
protected static long |
SHORT_ARR_OFF
Array offset: short.
|
protected static sun.misc.Unsafe |
UNSAFE
Unsafe instance.
|
| Constructor and Description |
|---|
PortableAbstractStream() |
| Modifier and Type | Method and Description |
|---|---|
int |
position() |
protected void |
shift(int cnt)
Shift position.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitarray, arrayCopy, hasArray, offheapPointer, positionprotected static final byte BYTE_ZERO
protected static final byte BYTE_ONE
protected static final boolean LITTLE_ENDIAN
protected static final sun.misc.Unsafe UNSAFE
protected static final long BOOLEAN_ARR_OFF
protected static final long BYTE_ARR_OFF
protected static final long SHORT_ARR_OFF
protected static final long CHAR_ARR_OFF
protected static final long INT_ARR_OFF
protected static final long FLOAT_ARR_OFF
protected static final long LONG_ARR_OFF
protected static final long DOUBLE_ARR_OFF
protected int pos
public int position()
position in interface PortableStreamprotected void shift(int cnt)
cnt - Byte count.
Follow @ApacheIgnite
Ignite Fabric : ver. 1.4.0 Release Date : September 24 2015