Lines Matching defs:position
38 * 1. Several position related member variables in the ByteBuffer class
39 * Mark: Read the starting position of the data to facilitate subsequent rollback to that position
45 * Bool hasRemaining(); Is there any data between position and limit
46 * Uint32_t remaining() const; Return the number of bytes between position and limit
48 * 2. Set ByteBuffer from writer state to read state: limit is set to position value, position is set to zero
52 * Void clear()// Reset to initial state: mark=-1, position=0, limit=capacity
53 * Void compact()// Copy the data between position and limit to the starting position at index 0,
54 * then move the position to the next position of this data segment and set the limit value to capacity
127 int32_t position = 0;