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.


class YEncEncoder


LastErrorThis property returns the last error that occured.
LineLengthThis 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.


BeginMultiPartTo start the process of encoding a file into multi part yEnc files or streams then use the BeginMultiPart function.
EncodePartToFileTo create a multi part yEnc file use the EncodePartToFile function.
EncodePartToStreamTo write a multi part yEnc file to a existing stream use the EncodePartToStream function.
EncodeToFileTo create a single part yEnc file use the EncodeToFile function.
EncodeToStreamTo write a single part yEnc file into a existing stream use the EncodeToStream function.
EndMultiPartTo finalize a multipart encoding then call the EndMultiPart method. This method clean up and closes the file handle to the source file.
PartsDoneTo 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