mitteLib
Loading...
Searching...
No Matches
strutils.cpp File Reference
#include <mlab/strutils.hpp>
Include dependency graph for strutils.cpp:

Namespaces

namespace  mlab
 

Functions

std::string mlab::concatenate_s (std::vector< std::string > const &strs, std::string_view separator)
 
std::string mlab::concatenate (std::vector< std::string_view > const &strs, std::string_view separator)
 
range< std::uint8_t const * > mlab::data_view_from_string (std::string_view s)
 
bin_data mlab::data_from_string (std::string_view s)
 
bin_data mlab::data_from_hex_string (std::string_view s)
 
std::string mlab::data_to_string (std::vector< std::uint8_t > const &v)
 
std::string mlab::data_to_string (range< bin_data::const_iterator > rg)
 
std::string mlab::data_to_string (range< std::uint8_t const * > rg)
 
std::string mlab::data_to_string (bin_data const &bd)
 
std::string mlab::data_to_hex_string (std::vector< std::uint8_t > const &v)
 
std::string mlab::data_to_hex_string (range< bin_data::const_iterator > rg)
 
std::string mlab::data_to_hex_string (range< std::uint8_t const * > rg)
 
std::string mlab::replace_all (std::string_view text, std::string_view search, std::string_view replace)
 
std::optional< datetimemlab::strptime (std::string_view s, std::string_view fmt)
 
std::string mlab::strftime (datetime const &dt, std::string_view fmt)
 
bin_datamlab::operator<< (encode_length< bin_data > w, std::string_view sv)
 
bin_streammlab::operator>> (encode_length< bin_stream > w, std::string &c)