base64 encoder/decoder: Add parameter to control linefeed handling
[libi2ncommon] / src / stringfunc.hxx
index 3a5d038..01d2882 100644 (file)
@@ -267,8 +267,8 @@ std::string to_string(const T& v)
  */
 std::string shorten_stl_types(const std::string &input);
 
-std::string base64_encode(const std::string &input);
-std::string base64_decode(const std::string &input);
+std::string base64_encode(const std::string &input, bool one_line=true);
+std::string base64_decode(const std::string &input, bool one_line=true);
 
 } // eo namespace I2n