e-CryptIt Engine Xojo Plugin - Encodings Xojo Plugin

Base64Stream Class (console safe)

To handle MIME Base64 or any other Base64 where you need to add (or remove when decoding) a extra symbol to the code (such as CR symbol for every line in a email). then use the Base64Stream class.

Object
   Base64Stream

class Base64Stream

Constructors

Base64Stream (console safe) The default constructor for the Base64Stream class that optionally takes urlMode Boolean parameter.
Base64Stream (console safe) The default constructor for the Base64Stream class that optionally takes urlMode Boolean parameter.

Methods

Decode (console safe) Pass data to this method to decode. This method should be called repeatedly until there is no more data to decode. Once there is no more data to decode then you should call the FinishDecoding method which will reset internal buffers and clean up. The size of the buffer passed to this function each round does not mater.
Encode (console safe) Pass data to this method to encode. This method should be called repeatedly until there is no more data to encode. Once there is no more data to encode then you should call the FinishEncoding function which will finish any buffered bytes that did not add up to pairs of 3, reset internal buffers and clean up. The size of the buffer passed to this function each round does not mater regarding the outcome, but its faster if the buffer size is dividable by 3. (When its dividable by 3 then internal buffering is greatly reduced).
FinishDecoding (console safe) Once there is no more data to encode then you should call the FinishEncoding function which will finish any buffered bytes that did not add up to pairs of 3, reset internal buffers and clean up.
FinishEncoding (console safe) Once there is no more data to decode then you should call the FinishDecoding method which will reset internal buffers and clean up.

Supported Platforms:

  • macOS Intel 64 bit
  • macOS Apple Silicon
  • Windows 32 bit
  • Windows 64 bit
  • Windows ARM 64 bit
  • Linux 32 bit
  • Linux 64 bit
  • Linux ARM 32 bit
  • Linux ARM 64 bit
  • iOS