12345678910111213141516171819202122232425262728 |
- #ifndef BOOST_MYSQL_DETAIL_CHARACTER_SET_HPP
- #define BOOST_MYSQL_DETAIL_CHARACTER_SET_HPP
- #include <boost/mysql/detail/config.hpp>
- #include <boost/core/span.hpp>
- #include <cstddef>
- namespace boost {
- namespace mysql {
- namespace detail {
- inline std::size_t next_char_ascii(span<const unsigned char> input) { return input[0] <= 0x7f ? 1 : 0; }
- BOOST_MYSQL_DECL std::size_t next_char_utf8mb4(span<const unsigned char> input);
- }
- }
- }
- #endif
|