e-CryptIt Engine Xojo Plugin - Encodings Xojo Plugin

Base64Stream.Encode Method

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).

Encode(
   src as String) as String

Parameters

src
The data to encode.

Returns

String

Remarks

See Also

Base64Stream Class