| e-CryptIt Engine REALbasic Plugin |
|
YEncEncoder Class
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.
Notes:REALbasic 5.5 or later is needed for this class. This class will not show up on older versions of REALbasic.
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 PPC - (Mach-O)MacOS X Universal Binary (Mach-O)MacOS X Cocoa Universal Binary (Mach-O)Win32 - WindowsLinux x86Unsupported Platforms: