forked from rebol/rebol
-
Notifications
You must be signed in to change notification settings - Fork 2
Debase
angerangel edited this page Mar 15, 2013
·
1 revision
DEBASE value /base base-value
Decodes binary-coded string (BASE-64 default) to binary value.
DEBASE is a native value.
- value -- The string to decode (binary! string!)
-
/base -- Binary base to use
- base-value -- The base to convert from: 64, 16, or 2 (integer!)
#SOURCE
debase: make native! [ [
{Decodes binary-coded string (BASE-64 default) to binary value.}
value [binary! string!] "The string to decode"
/base "Binary base to use"
base-value [integer!] "The base to convert from: 64, 16, or 2"
] ]