src/Types/Base64.php
protected static function parse($value, \DateTimeZone $timezone = null)
    {
        $res = base64_decode($value, true);
        if ($res === false) {
            throw new \InvalidArgumentException('Expected base64-encoded input');
        }
        return $res;
    }
protected static function parse($value, \DateTimeZone $timezone = null)
    {
        $res = base64_decode($value, true);
        if ($res === false) {
            throw new \InvalidArgumentException('Expected base64-encoded input');
        }
        return $res;
    }
/ \copydoc fpoirotte::XRL::Types::AbstractType::parse()