pharext\Archive::readSerializedBinary PHP Method

readSerializedBinary() private method

private readSerializedBinary ( $fd )
    private function readSerializedBinary($fd)
    {
        if ($length = $this->readSingleFormat("V", $fd, 4)) {
            if (false === ($data = unserialize($this->readVerified($fd, $length)))) {
                throw new Exception();
            }
            return $data;
        }
        return null;
    }