Searched refs:bufferpos (Results 1 – 2 of 2) sorted by relevance
62 private int bufferpos; field in AbstractSessionInputBuffer85 this.bufferpos = 0; in init()97 if (this.bufferpos > 0) { in fillBuffer()98 int len = this.bufferlen - this.bufferpos; in fillBuffer()100 System.arraycopy(this.buffer, this.bufferpos, this.buffer, 0, len); in fillBuffer()102 this.bufferpos = 0; in fillBuffer()119 return this.bufferpos < this.bufferlen; in hasBufferedData()130 return this.buffer[this.bufferpos++] & 0xff; in read()144 int chunk = this.bufferlen - this.bufferpos; in read()148 System.arraycopy(this.buffer, this.bufferpos, b, off, chunk); in read()[all …]
76 self.bufferpos = 0101 self.bufferpos = 0107 for i in range(self.bufferpos, len(self.buffer)):109 self.bufferpos += 1