writePosition
Current write position. It is always non-negative and will never run ahead of the limit. It is always greater or equal to the readPosition.
This position is affected by resetForRead, resetForWrite, reserveStartGap and reserveEndGap.