SmtpDecodeBase64
function SmtpDecodeBase64(const aText: tBytes; out aValue: tBytes): Boolean;
Strict base64 for the SASL exchanges: rejects any octet outside the alphabet, any misplaced padding and any length that is not a multiple of four, rather than silently decoding something else (RFC 4954 sec.4 answers 501 to those).