コード例 #1
0
ファイル: TableInC.php プロジェクト: love-ginger/flatbuffers
 /**
  * @param ByteBuffer $bb
  * @return TableInC
  */
 public static function getRootAsTableInC(ByteBuffer $bb)
 {
     $obj = new TableInC();
     return $obj->init($bb->getInt($bb->getPosition()) + $bb->getPosition(), $bb);
 }
コード例 #2
0
ファイル: SecondTableInA.php プロジェクト: armen/flatbuffers
 public function getReferToC()
 {
     $obj = new TableInC();
     $o = $this->__offset(4);
     return $o != 0 ? $obj->init($this->__indirect($o + $this->bb_pos), $this->bb) : 0;
 }