File tree Expand file tree Collapse file tree 1 file changed +15
-0
lines changed Expand file tree Collapse file tree 1 file changed +15
-0
lines changed Original file line number Diff line number Diff line change @@ -290,6 +290,21 @@ String hex ( const String &input ) {
290
290
return output;
291
291
}
292
292
293
+
294
+ // / \fn String hex_lower ( const String &input )
295
+ // / \brief Converts a sequence of integral types into a lower case hexadecimal sequence of characters.
296
+ // /
297
+ // / \param input A container to be converted
298
+ // / \return A container with the encoded text
299
+ template <typename String>
300
+ String hex_lower ( const String &input ) {
301
+ String output;
302
+ output.reserve (input.size () * (2 * sizeof (typename String::value_type)));
303
+ (void ) hex_lower (input, std::back_inserter (output));
304
+ return output;
305
+ }
306
+
307
+
293
308
// / \fn String unhex ( const String &input )
294
309
// / \brief Converts a sequence of hexadecimal characters into a sequence of characters.
295
310
// /
You can’t perform that action at this time.
0 commit comments