@B85TOBIN — Decodes a base-85 string into a binary buffer.
Syntax:
%@B85TOBIN[
handle,
start,
string]
handle | the handle to a binary buffer, as returned by @BALLOC |
start | the offset in bytes to which to begin decoding; defaults to 0 |
string | a base-85 encoded string as returned by @BINTOB85 |
This function decodes a base-85 string returned by
@BINTOB85
and stores the resulting data
in a binary buffer. Note that there is no option to control the number of
bytes written; the entire string is decoded and written to the buffer. If
there is any error in decoding the string, no change will be made to the binary
buffer.
Note that the two commas between parameters are both required. You must supply both commas even if you omit the optional start value.
The return value is the number of bytes written to the buffer.
See also: the BINTOB85
function.