v.24.6New Feature
Introduced base64 URL encoding and decoding functions
Introduced new functionsbase64URLEncode,base64URLDecodeandtryBase64URLDecode. #64991 (Mikhail Gorshkov).
Why it matters
These functions enable users to efficiently encode data into Base64 URL-safe format and decode from it. This solves issues related to encoding data for URLs and web applications where standard Base64 characters can cause problems, improving data interoperability and safety.How to use it
Usebase64URLEncode to encode raw bytes or strings into Base64 URL-safe format. Use base64URLDecode to decode a Base64 URL-safe encoded string back to its original form. Use tryBase64URLDecode to safely attempt decoding without throwing errors on invalid input.