e-CryptIt Engine Xojo Plugin |
|
YEncEncoder Class (console safe)
To handle YEnc encoding then use the YEncEncoder class. The YEncEncoder can create single part and multipart yEnc files. The class can encode into new files or into streams that are passed to the class.
Object
YEncEncoder
class YEncEncoder
Properties
LastError | This property returns the last error that occured. |
LineLength | This property sets or gets the desired line length for the encoded output. If you need to change this value then do it right after constructing a instance of the class. The most common values to use are 128 or 256, the default is 128. |
Methods
BeginMultiPart | To start the process of encoding a file into multi part yEnc files or streams then use the BeginMultiPart function. |
EncodePartToFile | To create a multi part yEnc file use the EncodePartToFile function. |
EncodePartToStream | To write a multi part yEnc file to a existing stream use the EncodePartToStream function. |
EncodeToFile | To create a single part yEnc file use the EncodeToFile function. |
EncodeToStream | To write a single part yEnc file into a existing stream use the EncodeToStream function. |
EndMultiPart | To finalize a multipart encoding then call the EndMultiPart method. This method clean up and closes the file handle to the source file.
|
PartsDone | To see if all parts have been processed when encoding in multi part mode then use the PartsDone function. |
Supported Platforms:
MacOS X Cocoa 32 bitMacOS X Cocoa 64 bitWindows 32 bitWindows 64 bitLinux 32 bitLinux 64 bitLinux ARM