e-CryptIt Engine Xojo Plugin

AppleSingleDecoderStream Class (console safe)

To decode AppleSingle and AppleDouble files use the AppleSingleDecoderStream class.

Object
   AppleSingleDecoderStream

class AppleSingleDecoderStream implements

IBinaryStreamWriter

IBlockWriter

Constructors

AppleSingleDecoderStreamOne of 2 Constructors for the AppleSingleDecoderStream class.
AppleSingleDecoderStreamOne of 2 Constructors for the AppleSingleDecoderStream class.

Properties

Buffer (console safe) This property can be used to obtain or set the MemoryBlock that is used for a shared memory block based decoding.
FileWasAppleDouble (console safe) This property can be used to obtain information if the file was AppleDouble. If a file was AppleDouble then it would only have contained the Resource Fork and MacOS file flags. You would be responsible for copying the datafork from a separate file into the destination file. (AppleDouble formatted files come in a clean Data fork file and the Encoding file which has the ResourceFork and the MacOS File flags).
OriginalName (console safe) This property can be used to obtain the original name of the file. The original name of the file may not be know until at end of the stream, so dont expect this property to actually contain something until after streaming is completed (before the stream is closed though).

Methods

Close (console safe) To close the stream and flush buffers use the close method.
Decode (console safe) Call the decode method in a loop to let the stream decode data.
DecodeBlock (console safe) Call the DecodeBlock method in a loop to let the stream decode data from the shared MemoryBlock.
Finalize (console safe) To finalize the decoding after streaming is done then you need to call the Finalize method, and this needs to be done before the Close method is called.
LastError (console safe) To obtain the last error that occured then use the LastError function.
Write (console safe) Call the write method in a loop to let the stream decode data.
WriteBlock (console safe) Call the WriteBlock method in a loop to let the stream decode data from the shared MemoryBlock.

Supported Platforms:

  • MacOS X Carbon
  • MacOS X Cocoa 32 bit

    Unsupported Platforms:

  • MacOS X Cocoa 64 bit
  • Windows 32 bit
  • Windows 64 bit
  • Linux 32 bit
  • Linux 64 bit
  • Linux ARM