Namespaces

Functions

  • template <detail::base64_literal_helper a>
    auto operator""_base64 ()

    User-defined literal for compile-time base64 decoding.

    Usage:

    using namespace simdutf::literals;

    constexpr auto decoded = "SGVsbG8gV29ybGQh"_base64;

    // decoded is a std::array

    <char

    , 12> containing "Hello World!"

    The input must be valid base64. Whitepace is allowed and ignored.

    A compilation error occurs if the input is invalid.

    Defined at line 7313 of file ../../third_party/github.com/simdutf/simdutf/src/include/simdutf/implementation.h