MCPcopy Create free account
hub / github.com/CommE2E/comm / is_valid_base64_char

Function is_valid_base64_char

native/cpp/CommonCpp/Tools/Base64.cpp:61–63  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

59}
60
61inline bool is_valid_base64_char(char c) {
62 return decode_table[c] != 0x64;
63}
64
65inline bool is_valid_base64_str(const std::string_view encoded_str) {
66 if ((encoded_str.size() % 4) == 1) {

Callers 1

is_valid_base64_strFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected