/** * @param ByteBuffer $bb * @return TableInC */ public static function getRootAsTableInC(ByteBuffer $bb) { $obj = new TableInC(); return $obj->init($bb->getInt($bb->getPosition()) + $bb->getPosition(), $bb); }
public function getReferToC() { $obj = new TableInC(); $o = $this->__offset(4); return $o != 0 ? $obj->init($this->__indirect($o + $this->bb_pos), $this->bb) : 0; }