Can't remove '\n' directly at here ,because of the character not in standard base64-encoded data ,but i don't know better solution
issue at :base64.cpp:171
`
if (remove_linebreaks) {
std::string copy(encoded_string);
copy.erase(std::remove(copy.begin(), copy.end(), '\n'), copy.end());
return base64_decode(copy, false);
}`