Wikipedia suggests that there're like a gazillion variations of the Base64 encoding:
http://en.wikipedia.org/wiki/Base64
So the answer probably depends on what you need to do with the string. But I'd dare say you created in PHP with base64_encode() so it appears to be safe to append blanks: