WinBatch Tech Support Home

Database Search

If you can't find the information using the categories below, post a question over in our WinBatch Tech Support Forum.

TechHome

Base64

Can't find the information you are looking for here? Then leave a message over on our WinBatch Tech Support Forum.

Base64 Extender

 Keywords: BASE 64 BASE64 

The Base64 Extender, P6Base64, enables you to encode and decode text and binary data using the Base64 content transfer encoding scheme defined in RFC1113. Input to the Base64 encoder may be of any type except arrays, which are unsupported and make no sense in this context. Once you have loaded the extender, encoding or decoding a string requires only a simple function call.

Benefits of Base64

Although developed and approved by the Internet Engineering Task Force (IETF) for encoding binary attachments for email, the coding scheme has many other uses. Following is a sample of the ways that the author intends to employ them.

Requirements

Your version of WinBatch must support Interface Level 4. This means versions 2000a or better.

Limitations

Download

[p6base64.zip]

To load the extender:

        AddExtender("P6Base64.dll")

Author:

David Gray, MBA,
Chief Wizard
WizardWrx
http://www.wizardwrx.com/


WIL Base64 Encoding and Decoding Extender Installation:

    Run the SETUP.WBT file to install the extender.

Ver 41001  02 Mar 2011

    Substitute the default line length of 72 for the third argument to function
    Base64File_P6C, so that its signature conforms to the documentation.

    Since the constants are now defined in P6Base64.WEH, they should now appear
    in living color, just like real WIL constants.

    Add the corresponding .lib file, for use by any brave souls who want to link
    the library into their own C and C++ code.

    Other than noting this corrective action, there being no pressing need to
    update the help file and other documentation, it remains unchanged and
    subject to the cosmetic issues noted in the initial release, version 41000,
    dated 22 May 2005.

Ver 41000  22 May 2005

   This is the initial release.

   While I believe it to be stable and fully functional, you
   should treat it as beta software for at least the next
   three months.

   KNOWN ISSUES

   1) Although the defined constants work, they are not being colored in the editor.

   2) The help file was created with an evaluation copy of a help tool. Hence, it does
      not yet bear my copyright notice.


Article ID:   W17635
Filename:   Base64 Extender.txt
File Created: 2019:08:14:08:52:04
Last Updated: 2019:08:14:08:52:04