Scalar. Returns a base64-encoded string for a given binary value.
base64_string ( binary )
binary | A binary value. |
The function encodes a binary value to form a base64-encoded string. One or two padding characters, '=' are added to the end to make the string length divisible by 4. The function returns a string.
base64_string ( hex_binary ('64') ) returns ZQ==.
base64_string ( hex_binary ('6C6561737572652E') ) returns bGVhc3VyZS4=.