e-CryptIt Engine Xojo Plugin - Encodings 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 (console safe) | This property returns the last error that occured.
LineLength (console safe) | 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 (console safe) | To start the process of encoding a file into multi part yEnc files or streams then use the BeginMultiPart function.
EncodePartToFile (console safe) | To create a multi part yEnc file use the EncodePartToFile function.
EncodePartToStream (console safe) | To write a multi part yEnc file to a existing stream use the EncodePartToStream function.
EncodeToFile (console safe) | To create a single part yEnc file use the EncodeToFile function.
EncodeToStream (console safe) | To write a single part yEnc file into a existing stream use the EncodeToStream function.
EndMultiPart (console safe) | To finalize a multipart encoding then call the EndMultiPart method. This method clean up and closes the file handle to the source file.
PartsDone (console safe) | To see if all parts have been processed when encoding in multi part mode then use the PartsDone function.

#### Supported Platforms:

- macOS Intel 64 bit
- macOS Apple Silicon
- Windows 32 bit
- Windows 64 bit
- Windows ARM 64 bit
- Linux 32 bit
- Linux 64 bit
- Linux ARM 32 bit
- Linux ARM 64 bit