S
SRLoka
I am not sure if it is a problem but, if you look at the help file, it says
Exception is thrown if :
The length of s, ignoring white space characters, is less than 4.
-or-
The length of s, ignoring white space characters, is not an even multiple of 4.
The valueless character, '=', is used for trailing padding. The end of s can consist of zero, one, or two padding characters.
What if a base64 encoded string has a length like 9, 13 (n*4 + 1), one would need to tack on 3 '='s at the end to make it a multiple of 4.
How does that work ?
Is it that a base64 string will never result in (n*4 + 1) bytes ?
Thanks
Exception is thrown if :
The length of s, ignoring white space characters, is less than 4.
-or-
The length of s, ignoring white space characters, is not an even multiple of 4.
The valueless character, '=', is used for trailing padding. The end of s can consist of zero, one, or two padding characters.
What if a base64 encoded string has a length like 9, 13 (n*4 + 1), one would need to tack on 3 '='s at the end to make it a multiple of 4.
How does that work ?
Is it that a base64 string will never result in (n*4 + 1) bytes ?
Thanks