MySQL 9.6.0
Source Code Documentation
hex_format.h File Reference

Experimental API header. More...

#include <array>
#include <cassert>
#include "mysql/strconv/formats/format.h"

Go to the source code of this file.

Classes

class  mysql::strconv::detail::Hex_to_int< hex_parse_case_tp >
 Return a conversion table with 256 elements, where elements for hex chars is the corresponding integer between 0 and 15, and other elements are -1. More...
 
struct  mysql::strconv::Hex_format< hex_case_tp >
 Format tag to identify hex format when encoding and decoding strings. More...
 

Namespaces

namespace  mysql
 
namespace  mysql::strconv
 
namespace  mysql::strconv::detail
 

Enumerations

enum class  mysql::strconv::detail::Hex_parse_case { mysql::strconv::detail::lower , mysql::strconv::detail::upper , mysql::strconv::detail::flexible }
 Policy for using uppercase/lowercase when parsing hex. More...
 
enum class  mysql::strconv::Hex_case { mysql::strconv::lower , mysql::strconv::upper , mysql::strconv::lower_only , mysql::strconv::upper_only }
 Policy for using uppercase/lowercase in hex conversion. More...
 

Variables

static constexpr std::array< unsigned char, 16 > mysql::strconv::detail::int_to_hex_lower
 Conversion table with 16 elements, where element i is lowercase hex for i. More...
 
static constexpr std::array< unsigned char, 16 > mysql::strconv::detail::int_to_hex_upper
 Conversion table with 16 elements, where element i is uppercase hex i. More...
 

Detailed Description

Experimental API header.