// // Copyright (c) 2019-2024 Ruben Perez Hidalgo (rubenperez038 at gmail dot com) // // Distributed under the Boost Software License, Version 1.0. (See accompanying // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) // #ifndef BOOST_MYSQL_DETAIL_CHARACTER_SET_HPP #define BOOST_MYSQL_DETAIL_CHARACTER_SET_HPP #include #include #include namespace boost { namespace mysql { namespace detail { inline std::size_t next_char_ascii(span input) { return input[0] <= 0x7f ? 1 : 0; } BOOST_MYSQL_DECL std::size_t next_char_utf8mb4(span input); } // namespace detail } // namespace mysql } // namespace boost #endif