blob_view.hpp 532 B

12345678910111213141516171819202122
  1. //
  2. // Copyright (c) 2019-2023 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
  3. //
  4. // Distributed under the Boost Software License, Version 1.0. (See accompanying
  5. // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
  6. //
  7. #ifndef BHO_MYSQL_BLOB_VIEW_HPP
  8. #define BHO_MYSQL_BLOB_VIEW_HPP
  9. #include <asio2/bho/core/span.hpp>
  10. namespace bho {
  11. namespace mysql {
  12. /// Non-owning type used to represent binary blobs.
  13. using blob_view = bho::span<const unsigned char>;
  14. } // namespace mysql
  15. } // namespace bho
  16. #endif