Base64 Question
Posted: Tue Nov 18, 2008 10:22 pm
Here's my issue. I have been trying to decode from Base64 several different MIME Email attachments. I use Base64Decoder mostly without problems, but on some encoded strings (large ones - like pictures), it fails because of the trailing "=", which once removed, will work.
So my question is: Why is it that some Base64 encoded strings can only be decoded if they have the trailing "=", and some can only be decoded if the trailing "=" is removed? Is it a string length issue?
Just trying to get a better understanding...
So my question is: Why is it that some Base64 encoded strings can only be decoded if they have the trailing "=", and some can only be decoded if the trailing "=" is removed? Is it a string length issue?
Just trying to get a better understanding...