.CONVERT FROM BASE64
This subroutine converts Base64 data to Appx raw data (Release 6.2.0 & higher).
Usage:
PASS <raw data> FIELD SHARE? Y
PASS <base64 data> FIELD SHARE? N
PASS <length to encode> FIELD SHARE? N
GOSUB --- .CONVERT FROM BASE64
* Check for errors
IF --- .CONVERT FROM BASE64 NE
Description:
This subroutine converts Base64 data to Appx raw data. All parameters are required, the subroutine will CANCEL if they are not PASSed.
<raw data> is the location to put the converted raw data(Required). This must be PASSed with Share "Y" to return the result.
<base64 data> is the location of the base64 data to be convert to raw data (Required). base64 data cannot exceed 32000 characters.
<length to encode> is the number of bytes to convert to raw (Required). This is an integer in the range of 1-32000.
If you want to convert raw data to base64 data, see
.CONVERT TO BASE64.
Comments:
Read what other users have said about this page or add your own comments.
--
BrianRyan - 2022-04-29