Skip to content
angerangel edited this page Mar 15, 2013 · 1 revision

USAGE

   DEBASE value /base base-value

DESCRIPTION

Decodes binary-coded string (BASE-64 default) to binary value.

DEBASE is a native value.

ARGUMENTS

  • value -- The string to decode (binary! string!)

REFINEMENTS

  • /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"
] ]
Clone this wiki locally