MCPcopy Create free account
hub / github.com/Tiiny-AI/PowerInfer / is_base64

Function is_base64

examples/server/server.cpp:71–74  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

69 "0123456789+/";
70
71static inline bool is_base64(uint8_t c)
72{
73 return (isalnum(c) || (c == '+') || (c == '/'));
74}
75
76static std::vector<uint8_t> base64_decode(std::string const &encoded_string)
77{

Callers 1

base64_decodeFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected