as it is known that while encoding with base64 encoding method the spaces are skipped but the question is while decoding how they are added back .... ??
consider the following encoding and decoding
string to decode:
TWFuIGlzIGRpc3Rpbmd1aXNoZWQsIG5vdCBvbmx5IGJ5IGhpcyByZWFzb24sIGJ1dCAuLi4=
decoded string:
Man is distinguished, not only by his reason, but ...