e-CryptIt Engine REALbasic Plugin

YEncDecoder Class

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).

Notes:
REALbasic 5.5 or later is needed for this class. This class will not show up on older versions of REALbasic.

Object
   YEncDecoder

class YEncDecoder

Properties

DestinationFileThis 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.
LastErrorThis property returns the last error that occured.
MultipartThis 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.
OriginalSizeThis property is set by the decoder when the DecodeStart is called. The property returns the size of the original file.
PartNumberThis 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

DecodeFinishTo finish decoding a YEnc file use the DecodeFinish function.
DecodeStartTo start to decode a YEnc file use the DecodeStart function.

Supported Platforms:

  • PPC - MacOS 9
  • Carbon - MacOS 9 and MacOS X (PEF)
  • MacOS X PPC - (Mach-O)
  • MacOS X Universal Binary (Mach-O)
  • Win32 - Windows
  • Linux x86