Kusto-phase2 : Fix the function base64_decode_tostring()

This commit is contained in:
Yong Wang 2022-06-29 23:01:17 -07:00
parent 91e6d407cb
commit 8121f1087c

View File

@ -13,14 +13,14 @@ bool Base64EncodeToString::convertImpl(String &out,IParser::Pos &pos)
bool Base64EncodeFromGuid::convertImpl(String &out,IParser::Pos &pos) bool Base64EncodeFromGuid::convertImpl(String &out,IParser::Pos &pos)
{ {
return directMapping(out,pos,"base64Decode"); String res = String(pos->begin,pos->end);
out = res;
return false;
} }
bool Base64DecodeToString::convertImpl(String &out,IParser::Pos &pos) bool Base64DecodeToString::convertImpl(String &out,IParser::Pos &pos)
{ {
String res = String(pos->begin,pos->end); return directMapping(out,pos,"base64Decode");
out = res;
return false;
} }
bool Base64DecodeToArray::convertImpl(String &out,IParser::Pos &pos) bool Base64DecodeToArray::convertImpl(String &out,IParser::Pos &pos)