RedBase64:
Filter:
Description
Class methods
Inherited class methods
Undocumented class methods
decode
encode
map
Instance methods
Inherited instance methods
Examples
Classes (extension)
|
Red
>
redTools
RedBase64
:
Object
Extension
base64 encoding/decoding
Source:
RedBase64.sc
See also:
RedHuffman
,
RedLZ77
,
RedLZ78
,
RedLZSS
,
RedLZW
,
RedRLE
Description
See
http://en.wikipedia.org/wiki/Base64
NOTE:
Only works with
String
.
Class Methods
Inherited class methods
Undocumented class methods
RedBase64.
decode
(
str
)
RedBase64.
encode
(
str
)
RedBase64.
map
RedBase64.
map
= value
Instance Methods
Inherited instance methods
Examples
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); c= RedBase64.decode(b); a==c 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.");
helpfile source:
/home/stefan/.local/share/SuperCollider/downloaded-quarks/redSys/HelpSource/Classes/RedBase64.schelp
link::Classes/RedBase64::