RedBase64 base64 encoder/decoder


see http://en.wikipedia.org/wiki/Base64


see also: RedLZW


*encode(string)

*decode(string)

<>map



//--

a= "Man is distinguished, not only by his reason, but by this singular passion from other animals, which is a lust of the mind, that by a perseverance of delight in the continued and indefatigable generation of knowledge, exceeds the short vehemence of any carnal pleasure.";


b= RedBase64.encode(a);

RedBase64.decode(b)


RedBase64.encode(a.keep(a.size-0))

RedBase64.encode(a.keep(a.size-1))

RedBase64.encode(a.keep(a.size-2))

RedBase64.encode(a.keep(a.size-3))


RedBase64.encode("leasure.")

RedBase64.encode("easure.")

RedBase64.encode("asure.")

RedBase64.encode("sure.")