MCPcopy Create free account
hub / github.com/catboost/catboost / Base64StrictDecode

Function Base64StrictDecode

library/cpp/string_utils/base64/base64.h:66–68  ·  view source on GitHub ↗

@param src a base64 encoded string. @param dst an pointer to allocated memory for writing result. @return Returns dst wrapped into TStringBuf.

Source from the content-addressed store, hash-verified

64/// @return Returns dst wrapped into TStringBuf.
65///
66inline TStringBuf Base64StrictDecode(const TStringBuf src, void* dst) {
67 return TStringBuf(static_cast<const char*>(dst), Base64StrictDecode(dst, src.begin(), src.end()));
68}
69
70///
71/// @param src a base64 encoded string.

Callers 2

Y_UNIT_TESTFunction · 0.70

Calls 5

Base64DecodeBufSizeFunction · 0.85
beginMethod · 0.45
endMethod · 0.45
sizeMethod · 0.45
resizeMethod · 0.45

Tested by 1