This event is fired when the encoder has encoded data ready to be written to a file or a socket.
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.