std::string & Trim(std::string & val);
std::string Trim(const std::string & val);
-std::string ToLower(const std::string & value);
-std::string ToUpper(const std::string & value);
+std::string ToLower(std::string value);
+std::string ToUpper(std::string value);
template <typename C, typename F>
inline
bool ReadAll(int sd, void * dest, size_t size);
bool WriteAll(int sd, const void * source, size_t size);
+std::string ToPrintable(const std::string & src);
+
//-----------------------------------------------------------------------------
int str2x(const std::string & str, int32_t & x);
int str2x(const std::string & str, uint32_t & x);