Decodes a BASE-64 encoded stream to recover the original data. White space before and after will be trimmed away,
but no other manipulation of the input will be performed.
As of version 1.2 this method will properly handle input containing junk characters (newlines and the like) rather
than throwing an error. It does this by pre-parsing the input and generating from that a count of VALID input
characters.