|
| template<class Char> |
| std::basic_string< Char > | tolower (std::basic_string< Char > s) |
| | Returns an all lower case edition of the input string. i18n aware.
|
| template<class Char> |
| std::basic_string< Char > | toupper (std::basic_string< Char > s) |
| | Returns an all upper case edition of the input string. i18n aware.
|
| template<class CharType, class T, typename std::enable_if<(sizeof(T)==1), bool >::type = true, typename std::enable_if<(std::is_trivially_copyable< T >::value), bool >::type = true, typename std::enable_if<(!std::is_const< CharType >::value), bool >::type = true> |
| size_t | to_hex_string (CharType *out, size_t outlen, const T *_in, size_t inlen) |
| | Converts a number to a hex string. Out buffer can be same as in buffer.
|
| template<class CharType, class T, typename std::enable_if<(sizeof(T)==1), bool >::type = true, typename std::enable_if<(std::is_trivially_copyable< T >::value), bool >::type = true, typename std::enable_if<(!std::is_const< CharType >::value), bool >::type = true> |
| size_t | to_hex_string (span::span< CharType > out, const span::span< T > in) |
| | This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
|
| template<class T, typename std::enable_if<(sizeof(T)==1), bool >::type = true, typename std::enable_if<(std::is_trivially_copyable< T >::value), bool >::type = true> |
| std::string | to_hex_string (span::span< T > in) |
| | This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
|
| template<class T, typename std::enable_if<(sizeof(T)==1), bool >::type = true, typename std::enable_if<(std::is_trivially_copyable< T >::value), bool >::type = true> |
| std::string | to_hex_string (const T *in, size_t len) |
| | This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
|
| template<class T, class CharType, typename std::enable_if<(sizeof(T)==1), bool >::type = true, typename std::enable_if<(std::is_trivially_copyable< T >::value), bool >::type = true, typename std::enable_if<(!std::is_const< T >::value), bool >::type = true> |
| size_t | from_hex_string (T *out, size_t outlen, const CharType *in, size_t inlen) |
| | Converts a hex string to a number. Out buffer can be same as in buffer.
|
template<class CharType, class T, typename std::enable_if<(sizeof(T)==1), bool >::type = true, typename std::enable_if<(std::is_trivially_copyable< T >::value), bool >::type = true, typename std::enable_if<(!std::is_const< CharType >::value), bool >::type = true>
| size_t quickcpplib::_xxx::algorithm::string::to_hex_string |
( |
span::span< CharType > | out, |
|
|
const span::span< T > | in ) |
|
inline |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
122 {
123 return to_hex_string(out.data(), out.size(), in.data(), in.size());
124 }
size_t to_hex_string(CharType *out, size_t outlen, const T *_in, size_t inlen)
Converts a number to a hex string. Out buffer can be same as in buffer.
Definition string.hpp:87
template<class T, typename std::enable_if<(sizeof(T)==1), bool >::type = true, typename std::enable_if<(std::is_trivially_copyable< T >::value), bool >::type = true>
| std::string quickcpplib::_xxx::algorithm::string::to_hex_string |
( |
span::span< T > | in | ) |
|
|
inline |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
129 {
130 std::string out(in.size() * 2, ' ');
131 to_hex_string(
const_cast<char *
>(out.data()), out.size(), in.data(), in.size());
132 return out;
133 }
template<class T, typename std::enable_if<(sizeof(T)==1), bool >::type = true, typename std::enable_if<(std::is_trivially_copyable< T >::value), bool >::type = true>
| std::string quickcpplib::_xxx::algorithm::string::to_hex_string |
( |
const T * | in, |
|
|
size_t | len ) |
|
inline |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
138 {
139 std::string out(
len * 2,
' ');
141 return out;
142 }
EXECINFO_DECL _Check_return_ _In_ size_t len
Definition execinfo_win64.h:55