Lines Matching full:_pos
19 public UInt32 _pos; // offset (from _buffer) of curent byte
20 UInt32 _keepSizeBefore; // how many BYTEs must be kept in buffer before _pos
21 UInt32 _keepSizeAfter; // how many BYTEs must be kept buffer after _pos
26 UInt32 offset = (UInt32)(_bufferOffset) + _pos - _keepSizeBefore;
60 if (_streamPos >= _pos + _keepSizeAfter)
87 _pos = 0;
95 _pos++;
96 if (_pos > _posLimit)
98 UInt32 pointerToPostion = _bufferOffset + _pos;
105 public Byte GetIndexByte(Int32 index) { return _bufferBase[_bufferOffset + _pos + index]; }
111 if ((_pos + index) + limit > _streamPos)
112 limit = _streamPos - (UInt32)(_pos + index);
114 // Byte *pby = _buffer + (size_t)_pos + index;
115 UInt32 pby = _bufferOffset + _pos + (UInt32)index;
122 public UInt32 GetNumAvailableBytes() { return _streamPos - _pos; }
128 _pos -= (UInt32)subValue;