e-CryptIt Engine Xojo Plugin - Encodings Xojo Plugin |

# YEncDecoder Class (console safe)

To handle YEnc decoding then use the YEncDecoder class. The YEncDecoder can decode single part and multipart YEnc files, and multipart files can be decoded in any given order (segment 2 can for example be decoded before segment 1).

Object
YEncDecoder

class YEncDecoder

#### Properties

DestinationFile (console safe) | This property is set by the decoder when the DecodeStart is called. Between calling DecodeStart and DecodeFinish then you can use this property to change the name and or the destination of the file to be decoded.
LastError (console safe) | This property returns the last error that occured.
Multipart (console safe) | This property is set by the decoder when the DecodeStart is called. The property returns true if the file that was passed to the decoder is a multipart YEnc file.
OriginalSize (console safe) | This property is set by the decoder when the DecodeStart is called. The property returns the size of the original file.
PartNumber (console safe) | This property is set by the decoder when the DecodeStart is called. The property returns the part number if the YEnc file that was passed to the decoder is a multipart file.

#### Methods

DecodeFinish (console safe) | To finish decoding a YEnc file use the DecodeFinish function.
DecodeStart (console safe) | To start to decode a YEnc file use the DecodeStart 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