Hello experts,
I need to decode a Base64 encoded String within an ABSL-script. I have checked already all built-in functions of BinaryObject/Binary and also the functions available in reuse library 'Binary' but was not able to find something which supports Base64 decoding.
Did I overlook anything obvious or is it as tricky as it seems to be?
Thank you in advance for any helpful hint.
Best regards,
Eugen
Here is how it works:
var base64EncodedString = "RXVnZW4gRG9qYW4="; // Base64-encoded value of String "Eugen Dojan" var binary = Library::Binary.ParseFromBase64String( base64EncodedString ); var decodedString = binary.ToString();
So in fact very simple because the ToString() function of Binary does an implict base64 decoding.