Class BinaryAbstractStream
- java.lang.Object
-
- org.apache.ignite.internal.binary.streams.BinaryAbstractStream
-
- All Implemented Interfaces:
BinaryStream
- Direct Known Subclasses:
BinaryAbstractInputStream,BinaryAbstractOutputStream
public abstract class BinaryAbstractStream extends Object implements BinaryStream
Binary abstract stream.
-
-
Constructor Summary
Constructors Constructor Description BinaryAbstractStream()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intposition()protected voidshift(int cnt)Shift position.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.ignite.internal.binary.streams.BinaryStream
array, arrayCopy, capacity, hasArray, offheapPointer, position, rawOffheapPointer
-
-
-
-
Field Detail
-
BYTE_ZERO
protected static final byte BYTE_ZERO
Byte: zero.- See Also:
- Constant Field Values
-
BYTE_ONE
protected static final byte BYTE_ONE
Byte: one.- See Also:
- Constant Field Values
-
pos
protected int pos
Position.
-
-
Method Detail
-
position
public int position()
- Specified by:
positionin interfaceBinaryStream- Returns:
- Position.
-
shift
protected void shift(int cnt)
Shift position.- Parameters:
cnt- Byte count.
-
-