Exemplo n.º 1
0
 public function getReferToA1()
 {
     $obj = new TableInFirstNS();
     $o = $this->__offset(4);
     return $o != 0 ? $obj->init($this->__indirect($o + $this->bb_pos), $this->bb) : 0;
 }
Exemplo n.º 2
0
 /**
  * @param ByteBuffer $bb
  * @return TableInFirstNS
  */
 public static function getRootAsTableInFirstNS(ByteBuffer $bb)
 {
     $obj = new TableInFirstNS();
     return $obj->init($bb->getInt($bb->getPosition()) + $bb->getPosition(), $bb);
 }