Header <boost/algorithm/hex.hpp> Boost , The Boost Algorithm Library , Reference
Перевести последовательность интегральных типов в последовательность гексадекимальных символов и обратно. На основе функций MySQL HEX и UNHEX.
Маршал Клоу
namespace boost {
namespace algorithm {
struct hex_decode_error ;
struct not_enough_input ;
struct non_hex_input ;
typedef boost :: error_info < struct bad_char_ , char > bad_char ;
template < typename InputIterator, typename OutputIterator>
unspecified hex ( InputIterator , InputIterator , OutputIterator ) ;
template < typename InputIterator, typename OutputIterator>
unspecified hex_lower ( InputIterator , InputIterator , OutputIterator ) ;
template < typename T, typename OutputIterator>
boost :: enable_if < boost :: is_integral < T > , OutputIterator > :: type
hex ( const T * , OutputIterator ) ;
template < typename T, typename OutputIterator>
boost :: enable_if < boost :: is_integral < T > , OutputIterator > :: type
hex_lower ( const T * , OutputIterator ) ;
template < typename Range, typename OutputIterator>
unspecified hex ( const Range & , OutputIterator ) ;
template < typename Range, typename OutputIterator>
unspecified hex_lower ( const Range & , OutputIterator ) ;
template < typename InputIterator, typename OutputIterator>
OutputIterator unhex ( InputIterator , InputIterator , OutputIterator ) ;
template < typename T, typename OutputIterator>
OutputIterator unhex ( const T * , OutputIterator ) ;
template < typename Range, typename OutputIterator>
OutputIterator unhex ( const Range & , OutputIterator ) ;
template < typename String> String hex ( const String & ) ;
template < typename String> String hex_lower ( const String & ) ;
template < typename String> String unhex ( const String & ) ;
}
} Статья Header <boost/algorithm/hex.hpp> раздела The Boost Algorithm Library Reference может быть полезна для разработчиков на c++ и boost.
Материалы статей собраны из открытых источников, владелец сайта не претендует на авторство. Там где авторство установить не удалось, материал подаётся без имени автора. В случае если Вы считаете, что Ваши права нарушены, пожалуйста, свяжитесь с владельцем сайта.
:: Главная :: Reference ::