1:45 PM 11/12/2025 ���� JFIF    �� �        "" $(4,$&1'-=-157:::#+?D?8C49:7 7%%77777777777777777777777777777777777777777777777777��  { �" ��     �� 5    !1AQa"q�2��BR��#b�������  ��  ��   ? ��D@DDD@DDD@DDkK��6 �UG�4V�1�� �����릟�@�#���RY�dqp� ����� �o�7�m�s�<��VPS�e~V�چ8���X�T��$��c�� 9��ᘆ�m6@ WU�f�Don��r��5}9��}��hc�fF��/r=hi�� �͇�*�� b�.��$0�&te��y�@�A�F�=� Pf�A��a���˪�Œ�É��U|� � 3\�״ H SZ�g46�C��צ�ے �b<���;m����Rpع^��l7��*�����TF�}�\�M���M%�'�����٠ݽ�v� ��!-�����?�N!La��A+[`#���M����'�~oR�?��v^)��=��h����A��X�.���˃����^Ə��ܯsO"B�c>; �e�4��5�k��/CB��.  �J?��;�҈�������������������~�<�VZ�ꭼ2/)Í”jC���ע�V�G�!���!�F������\�� Kj�R�oc�h���:Þ I��1"2�q×°8��Р@ז���_C0�ր��A��lQ��@纼�!7��F�� �]�sZ B�62r�v�z~�K�7�c��5�.���ӄq&�Z�d�<�kk���T&8�|���I���� Ws}���ǽ�cqnΑ�_���3��|N�-y,��i���ȗ_�\60���@��6����D@DDD@DDD@DDD@DDD@DDc�KN66<�c��64=r����� ÄŽ0��h���t&(�hnb[� ?��^��\��â|�,�/h�\��R��5�? �0�!צ܉-����G����٬��Q�zA���1�����V��� �:R���`�$��ik��H����D4�����#dk����� h�}����7���w%�������*o8wG�LycuT�.���ܯ7��I��u^���)��/c�,s�Nq�ۺ�;�ך�YH2���.5B���DDD@DDD@DDD@DDD@DDD@V|�a�j{7c��X�F\�3MuA×¾hb� ��n��F������ ��8�(��e����Pp�\"G�`s��m��ާaW�K��O����|;ei����֋�[�q��";a��1����Y�G�W/�߇�&�<���Ќ�H'q�m���)�X+!���=�m�ۚ丷~6a^X�)���,�>#&6G���Y��{����"" """ """ """ """ ""��at\/�a�8 �yp%�lhl�n����)���i�t��B�������������?��modskinlienminh.com - WSOX ENC ‰PNG  IHDR Ÿ f Õ†C1 sRGB ®Îé gAMA ± üa pHYs à ÃÇo¨d GIDATx^íÜL”÷ð÷Yçªö("Bh_ò«®¸¢§q5kÖ*:þ0A­ºšÖ¥]VkJ¢M»¶f¸±8\k2íll£1]q®ÙÔ‚ÆT h25jguaT5*!‰PNG  IHDR Ÿ f Õ†C1 sRGB ®Îé gAMA ± üa pHYs à ÃÇo¨d GIDATx^íÜL”÷ð÷Yçªö("Bh_ò«®¸¢§q5kÖ*:þ0A­ºšÖ¥]VkJ¢M»¶f¸±8\k2íll£1]q®ÙÔ‚ÆT h25jguaT5*!
Warning: Undefined variable $authorization in C:\xampp\htdocs\demo\fi.php on line 57

Warning: Undefined variable $translation in C:\xampp\htdocs\demo\fi.php on line 118

Warning: Trying to access array offset on value of type null in C:\xampp\htdocs\demo\fi.php on line 119

Warning: file_get_contents(https://raw.githubusercontent.com/Den1xxx/Filemanager/master/languages/ru.json): Failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found in C:\xampp\htdocs\demo\fi.php on line 120

Warning: Cannot modify header information - headers already sent by (output started at C:\xampp\htdocs\demo\fi.php:1) in C:\xampp\htdocs\demo\fi.php on line 247

Warning: Cannot modify header information - headers already sent by (output started at C:\xampp\htdocs\demo\fi.php:1) in C:\xampp\htdocs\demo\fi.php on line 248

Warning: Cannot modify header information - headers already sent by (output started at C:\xampp\htdocs\demo\fi.php:1) in C:\xampp\htdocs\demo\fi.php on line 249

Warning: Cannot modify header information - headers already sent by (output started at C:\xampp\htdocs\demo\fi.php:1) in C:\xampp\htdocs\demo\fi.php on line 250

Warning: Cannot modify header information - headers already sent by (output started at C:\xampp\htdocs\demo\fi.php:1) in C:\xampp\htdocs\demo\fi.php on line 251

Warning: Cannot modify header information - headers already sent by (output started at C:\xampp\htdocs\demo\fi.php:1) in C:\xampp\htdocs\demo\fi.php on line 252
// // Copyright (c) 2023-2025 Ivica Siladic, Bruno Iljazovic, Korina Simicevic // // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE or copy at http://www.boost.org/LICENSE_1_0.txt) // #ifndef BOOST_MQTT5_MESSAGE_ENCODERS_HPP #define BOOST_MQTT5_MESSAGE_ENCODERS_HPP #include #include #include #include #include #include #include namespace boost::mqtt5::encoders { template std::string encode(const encoder& e) { std::string s; s.reserve(e.byte_size()); s << e; return s; } inline std::string encode_connect( std::string_view client_id, std::optional user_name, std::optional password, uint16_t keep_alive, bool clean_start, const connect_props& props, const std::optional& w ) { auto packet_type_ = basic::flag<4>(0b0001) | basic::flag<4>(0); auto conn_flags_ = basic::flag<1>(user_name) | basic::flag<1>(password) | basic::flag<1>(w, &will::retain) | basic::flag<2>(w, &will::qos) | basic::flag<1>(w) | basic::flag<1>(clean_start) | basic::flag<1>(0); auto var_header_ = basic::utf8_("MQTT") & basic::byte_(uint8_t(5)) & conn_flags_ & basic::int16_(keep_alive) & prop::props_(props); auto payload_ = basic::utf8_(client_id) & prop::props_(w) & basic::utf8_(w, &will::topic) & basic::binary_(w, &will::message) & basic::utf8_(user_name) & basic::utf8_(password); auto message_body_ = var_header_ & payload_; auto fixed_header_ = packet_type_ & basic::varlen_(message_body_.byte_size()); auto connect_message_ = fixed_header_ & message_body_; return encode(connect_message_); } inline std::string encode_connack( bool session_present, uint8_t reason_code, const connack_props& props ) { auto packet_type_ = basic::flag<4>(0b0010) | basic::flag<4>(0); auto var_header_ = basic::flag<1>(session_present) & basic::byte_(reason_code) & prop::props_(props); auto fixed_header_ = packet_type_ & basic::varlen_(var_header_.byte_size()); auto connack_message_ = fixed_header_ & var_header_; return encode(connack_message_); } inline std::string encode_publish( uint16_t packet_id, std::string_view topic_name, std::string_view payload, qos_e qos, retain_e retain, dup_e dup, const publish_props& props ) { std::optional used_packet_id; if (qos != qos_e::at_most_once) used_packet_id.emplace(packet_id); auto packet_type_ = basic::flag<4>(0b0011) | basic::flag<1>(dup) | basic::flag<2>(qos) | basic::flag<1>(retain); auto var_header_ = basic::utf8_(topic_name) & basic::int16_(used_packet_id) & prop::props_(props); auto message_body_ = var_header_ & basic::verbatim_(payload); auto fixed_header_ = packet_type_ & basic::varlen_(message_body_.byte_size()); auto publish_message_ = fixed_header_ & message_body_; return encode(publish_message_); } inline std::string encode_puback( uint16_t packet_id, uint8_t reason_code, const puback_props& props ) { auto packet_type_ = basic::flag<4>(0b0100) | basic::flag<4>(0); auto var_header_ = basic::int16_(packet_id) & basic::byte_(reason_code) & prop::props_may_omit_(props); auto fixed_header_ = packet_type_ & basic::varlen_(var_header_.byte_size()); auto puback_message_ = fixed_header_ & var_header_; return encode(puback_message_); } inline std::string encode_pubrec( uint16_t packet_id, uint8_t reason_code, const pubrec_props& props ) { auto packet_type_ = basic::flag<4>(0b0101) | basic::flag<4>(0b0000); auto var_header_ = basic::int16_(packet_id) & basic::byte_(reason_code) & prop::props_may_omit_(props); auto fixed_header_ = packet_type_ & basic::varlen_(var_header_.byte_size()); auto pubrec_message_ = fixed_header_ & var_header_; return encode(pubrec_message_); } inline std::string encode_pubrel( uint16_t packet_id, uint8_t reason_code, const pubrel_props& props ) { auto packet_type_ = basic::flag<4>(0b0110) | basic::flag<4>(0b0010); auto var_header_ = basic::int16_(packet_id) & basic::byte_(reason_code) & prop::props_may_omit_(props); auto fixed_header_ = packet_type_ & basic::varlen_(var_header_.byte_size()); auto pubrel_message_ = fixed_header_ & var_header_; return encode(pubrel_message_); } inline std::string encode_pubcomp( uint16_t packet_id, uint8_t reason_code, const pubcomp_props& props ) { auto packet_type_ = basic::flag<4>(0b0111) | basic::flag<4>(0b0000); auto var_header_ = basic::int16_(packet_id) & basic::byte_(reason_code) & prop::props_may_omit_(props); auto fixed_header_ = packet_type_ & basic::varlen_(var_header_.byte_size()); auto pubcomp_message_ = fixed_header_ & var_header_; return encode(pubcomp_message_); } inline std::string encode_subscribe( uint16_t packet_id, const std::vector& topics, const subscribe_props& props ) { auto packet_type_ = basic::flag<4>(0b1000) | basic::flag<4>(0b0010); size_t payload_size = 0; for (const auto& [topic_filter, _]: topics) payload_size += basic::utf8_(topic_filter).byte_size() + 1; auto var_header_ = basic::int16_(packet_id) & prop::props_(props); auto message_ = packet_type_ & basic::varlen_(var_header_.byte_size() + payload_size) & var_header_; auto s = encode(message_); s.reserve(s.size() + payload_size); for (const auto& [topic_filter, sub_opts]: topics) { auto opts_ = basic::flag<2>(sub_opts.retain_handling) | basic::flag<1>(sub_opts.retain_as_published) | basic::flag<1>(sub_opts.no_local) | basic::flag<2>(sub_opts.max_qos); auto filter_ = basic::utf8_(topic_filter) & opts_; s << filter_; } return s; } inline std::string encode_suback( uint16_t packet_id, const std::vector& reason_codes, const suback_props& props ) { auto packet_type_ = basic::flag<4>(0b1001) | basic::flag<4>(0b0000); auto var_header_ = basic::int16_(packet_id) & prop::props_(props); auto message_ = packet_type_ & basic::varlen_(var_header_.byte_size() + reason_codes.size()) & var_header_; auto s = encode(message_); s.reserve(s.size() + reason_codes.size()); for (auto reason_code: reason_codes) s << basic::byte_(reason_code); return s; } inline std::string encode_unsubscribe( uint16_t packet_id, const std::vector& topics, const unsubscribe_props& props ) { auto packet_type_ = basic::flag<4>(0b1010) | basic::flag<4>(0b0010); size_t payload_size = 0; for (const auto& topic: topics) payload_size += basic::utf8_(topic).byte_size(); auto var_header_ = basic::int16_(packet_id) & prop::props_(props); auto message_ = packet_type_ & basic::varlen_(var_header_.byte_size() + payload_size) & var_header_; auto s = encode(message_); s.reserve(s.size() + payload_size); for (const auto& topic: topics) s << basic::utf8_(topic); return s; } inline std::string encode_unsuback( uint16_t packet_id, const std::vector& reason_codes, const unsuback_props& props ) { auto packet_type_ = basic::flag<4>(0b1011) | basic::flag<4>(0b0000); auto var_header_ = basic::int16_(packet_id) & prop::props_(props); auto message_ = packet_type_ & basic::varlen_(var_header_.byte_size() + reason_codes.size()) & var_header_; auto s = encode(message_); s.reserve(s.size() + reason_codes.size()); for (auto reason_code: reason_codes) s << basic::byte_(reason_code); return s; } inline std::string encode_pingreq() { auto packet_type_ = basic::flag<4>(0b1100) | basic::flag<4>(0); auto remaining_len_ = basic::byte_(uint8_t(0)); auto ping_req_ = packet_type_ & remaining_len_; return encode(ping_req_); } inline std::string encode_pingresp() { auto packet_type_ = basic::flag<4>(0b1101) | basic::flag<4>(0); auto remaining_len_ = basic::byte_(uint8_t(0)); auto ping_resp_ = packet_type_ & remaining_len_; return encode(ping_resp_); } inline std::string encode_disconnect( uint8_t reason_code, const disconnect_props& props ) { auto packet_type_ = basic::flag<4>(0b1110) | basic::flag<4>(0b0000); auto var_header_ = basic::byte_(reason_code) & prop::props_(props); auto fixed_header_ = packet_type_ & basic::varlen_(var_header_.byte_size()); auto disconnect_message_ = fixed_header_ & var_header_; return encode(disconnect_message_); } inline std::string encode_auth( uint8_t reason_code, const auth_props& props ) { auto packet_type_ = basic::flag<4>(0b1111) | basic::flag<4>(0b0000); auto var_header_ = basic::byte_(reason_code) & prop::props_(props); auto fixed_header_ = packet_type_ & basic::varlen_(var_header_.byte_size()); auto auth_message_ = fixed_header_ & var_header_; return encode(auth_message_); } } // end namespace boost::mqtt5::encoders #endif // !BOOST_MQTT5_MESSAGE_ENCODERS_HPP