File indexing completed on 2025-04-09 08:28:00
0001
0002
0003
0004
0005
0006
0007
0008 #ifndef BOOST_MYSQL_DETAIL_CHARACTER_SET_HPP
0009 #define BOOST_MYSQL_DETAIL_CHARACTER_SET_HPP
0010
0011 #include <boost/mysql/detail/config.hpp>
0012
0013 #include <boost/core/span.hpp>
0014
0015 #include <cstddef>
0016
0017 namespace boost {
0018 namespace mysql {
0019 namespace detail {
0020
0021 inline std::size_t next_char_ascii(span<const unsigned char> input) { return input[0] <= 0x7f ? 1 : 0; }
0022 BOOST_MYSQL_DECL std::size_t next_char_utf8mb4(span<const unsigned char> input);
0023
0024 }
0025 }
0026 }
0027
0028 #endif