Lines Matching refs:_buffer
25 public $_buffer; variable in Google\\FlatBuffers\\ByteBuffer
40 $bb->_buffer = $bytes;
50 $this->_buffer = str_repeat("\0", $size);
58 return strlen($this->_buffer);
90 return strlen($this->_buffer);
98 return substr($this->_buffer, $this->_pos);
124 $this->_buffer[$offset + $i] = chr($data >> $i * 8);
128 $this->_buffer[$offset + $count - 1 - $i] = chr($data >> $i * 8);
147 $r |= ord($this->_buffer[$offset + $i]) << $i * 8;
151 $r |= ord($this->_buffer[$offset + $count -1 - $i]) << $i * 8;
165 $offset >= strlen($this->_buffer) ||
166 $offset + $length > strlen($this->_buffer)) {
167 …Exception(sprintf("offset: %d, length: %d, buffer; %d", $offset, $length, strlen($this->_buffer)));
182 return $this->_buffer[$offset] = $value;
196 return $this->_buffer[$offset] = $value;
208 $this->_buffer[$offset + $i] = $value[$i];
324 return ord($this->_buffer[$index]);
333 $v = unpack("c", $this->_buffer[$index]);
343 $buffer[$j] = $this->_buffer[$i];
354 return $this->_buffer[$index];
364 return (bool)ord($this->_buffer[$index]);
376 $issigned = isset($this->_buffer[$sign]) && ord($this->_buffer[$sign]) & 0x80;
400 $issigned = isset($this->_buffer[$sign]) && ord($this->_buffer[$sign]) & 0x80;