Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 09:53:26

0001 //
0002 // Copyright (c) 2019 Vinnie Falco (vinnie.falco@gmail.com)
0003 // Copyright (c) 2022 Alan de Freitas (alandefreitas@gmail.com)
0004 //
0005 // Distributed under the Boost Software License, Version 1.0. (See accompanying
0006 // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
0007 //
0008 // Official repository: https://github.com/boostorg/url
0009 //
0010 
0011 #ifndef BOOST_URL_DETAIL_DECODE_HPP
0012 #define BOOST_URL_DETAIL_DECODE_HPP
0013 
0014 #include <boost/url/encoding_opts.hpp>
0015 #include <boost/core/detail/string_view.hpp>
0016 #include <cstdlib>
0017 
0018 namespace boost {
0019 namespace urls {
0020 namespace detail {
0021 
0022 BOOST_URL_DECL
0023 char
0024 decode_one(
0025     char const* it) noexcept;
0026 
0027 BOOST_URL_DECL
0028 std::size_t
0029 decode_bytes_unsafe(
0030     core::string_view s) noexcept;
0031 
0032 BOOST_URL_DECL
0033 std::size_t
0034 decode_unsafe(
0035     char* dest,
0036     char const* end,
0037     core::string_view s,
0038     encoding_opts opt = {}) noexcept;
0039 
0040 } // detail
0041 } // urls
0042 } // boost
0043 
0044 #endif