MCPcopy Create free account
hub / github.com/ByConity/ByConity / base64Decode

Function base64Decode

src/Server/HTTPHandler.cpp:135–142  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

133}
134
135static String base64Decode(const String & encoded)
136{
137 String decoded;
138 Poco::MemoryInputStream istr(encoded.data(), encoded.size());
139 Poco::Base64Decoder decoder(istr);
140 Poco::StreamCopier::copyToString(decoder, decoded);
141 return decoded;
142}
143
144static String base64Encode(const String & decoded)
145{

Callers 1

authenticateUserMethod · 0.70

Calls 2

dataMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected