MCPcopy Create free account
hub / github.com/Snapchat/Valdi / base64ToBinary

Function base64ToBinary

libs/utils/src/utils/encoding/Base64Utils.cpp:70–74  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

68}
69
70std::vector<uint8_t> base64ToBinary(std::string_view base64) {
71 std::vector<uint8_t> decodedData;
72 base64ToBinaryInternal(base64.data(), base64.size(), &decodedData);
73 return decodedData;
74}
75
76bool base64ToBinary(std::string_view base64, std::vector<uint8_t>& decodedData) {
77 return base64ToBinaryInternal(base64.data(), base64.size(), &decodedData);

Callers 6

getMethod · 0.85
loadBase64DataMethod · 0.85
runtimeGetSourceMapMethod · 0.85
getDataBytesForKeyFunction · 0.85
decodeNativeBitmapMethod · 0.85
base64ToUInt64Function · 0.85

Calls 3

base64ToBinaryInternalFunction · 0.85
dataMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected