MCPcopy Create free account
hub / github.com/dfranx/SHADERed / is_base64

Function is_base64

src/SHADERed/Objects/WebAPI.cpp:300–303  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

298 "abcdefghijklmnopqrstuvwxyz"
299 "0123456789+/";
300 static inline bool is_base64(unsigned char c)
301 {
302 return (isalnum(c) || (c == '+') || (c == '/'));
303 }
304 std::string base64_decode(std::string const& encoded_string)
305 {
306 int in_len = encoded_string.size();

Callers 1

base64_decodeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected