MCPcopy Create free account
hub / github.com/bailey27/cppcryptfs / remove_base64_padding

Function remove_base64_padding

libcppcryptfs/util/util.cpp:186–194  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

184}
185
186static const char *
187remove_base64_padding(string& str)
188{
189
190 while (str.length() > 0 && str[str.length() - 1] == '=')
191 str.pop_back();
192
193 return str.c_str();
194}
195
196bool
197base64_decode(const char *str, vector<unsigned char>& storage, bool urlTransform, bool padding)

Callers 1

base64_encodeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected