Exemple #1
0
 public function getTestempty()
 {
     $obj = new Stat();
     $o = $this->__offset(32);
     return $o != 0 ? $obj->init($this->__indirect($o + $this->bb_pos), $this->bb) : 0;
 }
Exemple #2
0
 /**
  * @param ByteBuffer $bb
  * @return Stat
  */
 public static function getRootAsStat(ByteBuffer $bb)
 {
     $obj = new Stat();
     return $obj->init($bb->getInt($bb->getPosition()) + $bb->getPosition(), $bb);
 }