예제 #1
0
                if ('toString' == $m) {
                    return $this->__toString();
                } else {
                    throw new HException('Unable to call «' . $m . '»');
                }
            }
        }
    }
    static $LN2;
    static $__properties__ = array("set_bigEndian" => "setEndian");
    function __toString()
    {
        return 'haxe.io.Output';
    }
}
haxe_io_Output::$LN2 = Math::log(2);
function haxe_io_Output_0(&$»this, &$x)
{
    $x1 = _hx_shift_right($x, 24);
    if (($x1 >> 30 & 1) !== _hx_shift_right($x1, 31)) {
        throw new HException("Overflow " . Std::string($x1));
    }
    return $x1 & -1;
}
function haxe_io_Output_1(&$»this, &$x)
{
    $x1 = _hx_shift_right($x, 16);
    if (($x1 >> 30 & 1) !== _hx_shift_right($x1, 31)) {
        throw new HException("Overflow " . Std::string($x1));
    }
    return $x1 & -1;