Tags:
create new tag
view all tags

.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

Edit | Attach | Watch | Print version | History: r5 < r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r5 - 2022-05-16 - MisaghKarimi
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback