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