e-CryptIt Engine Xojo Plugin

BinHex.OnHqxEncode Event

This event is fired when the encoder has encoded data ready to be written to a file or a socket.

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

Parameters

buffer
The string to write.
count
Number of bytes of the buffer.

Returns

Integer

Remarks

Returns An error code, zero for no error.
-43 Invalid folderitem
-44 Internal error
-100 Decoding was aborted

Note: This event is not fired if you are using a StreamWriter to write the encoded stream as the StreamWriter replaces this event.

See Also

BinHex Class