e-CryptIt Engine Xojo Plugin

AppleSingle.OnWriteEncoded Event

This event is fired when the encoder has encoded data ready to be written to a file or a socket.
This event is fired only when nil is used as the output file parameter.

OnWriteEncoded(
   buffer as String,
   count as Integer) as Integer

Parameters

buffer
The buffer to write.
count
The number of bytes in the buffer to be written.

Returns

Integer

Remarks

Due to the nature of the algorithm, there is no OnReadEncoded event for in place decoding.
The reason is that the algorithm requires jumps within the file while it is decoded.

See Also

AppleSingle Class