Loading

OPB64->


conversion
Since v1.0.7
Available on all platforms
See also

Decode a String in order preserving base64 into a byte array.

Bytes array cannot be represented on the stack.

Signature

Examples

'H5KgQ5wg74SjRalZ7F' OPB64-> // Put a bytes array on the top of the stack // bytes array -> string conversion 'UTF-8' BYTES->
//sort an opb64 encoded list. [ 'orange' 'banana' 'lemon' 'avocado' 'apple' ] [ SWAP <% ->OPB64 %> FOREACH ] //opb64 encode DUP LSORT //uncomment me to sort the OPB64 list [ SWAP <% OPB64-> 'UTF-8' BYTES-> %> FOREACH ] //obp64 decode
//try to sort an b64 encoded list (it does not work) [ 'orange' 'banana' 'lemon' 'avocado' 'apple' ] [ SWAP <% ->B64 %> FOREACH ] //opb64 encode DUP LSORT //uncomment me to sort the OPB64 list [ SWAP <% B64-> 'UTF-8' BYTES-> %> FOREACH ] //obp64 decode