e-CryptIt Engine Xojo Plugin

AppleSingleDecoderStream.Constructor Constructor (console safe)

One of 2 Constructors for the AppleSingleDecoderStream class.

Constructor(
   destination as FolderItem,
   buffer as MemoryBlock)

Parameters

destination
The file name and location of the destination file. (Since in AppleSingle the original file name may not be known until end of the stream then you need to provide a temporary name for the destination file which is used until the original name is known). You are responsible for doing checks making sure the destination file does not allready exist before calling the constructor.
buffer
This you may want to use if you are doing optimized decoding that is based on sharing memory blocks. If you do not set this parameter then a default memory block with 4096 bytes is created internally.

Remarks

See Also

AppleSingleDecoderStream Class