e-CryptIt Engine Xojo Plugin

UUCoderStream.Constructor Constructor

One of 3 constructors for the UUCoderStream class.

Constructor(
   f as FolderItem,
   FileName as String,
   write as Boolean,
   reader as IStreamReader,
   writer as IStreamWriter,
   OutBufferSize as Integer)

Parameters

f
When encoding then this should be a FolderItem pointing to the file that the UUCoderStream should create. (This file may not already exist).

When decoding then this should be a FolderItem pointing to the file that needs to be decoded.
FileName
When encoding then this should be the original name of the file, the name of the file before it's encoded, like: "Picture1.jpg".
write
If this parameter is set to True then you are writing the UUEncoded file (encoding), if set to Talse then you are reading a UUEncoded file (decoding).
reader
This parameter is used if you want to handle all filehandling yourself or not stream from a file at all.

You can put any IStreamReader class instance here, and then the file will be read from there.

If this parameter is used then the f FolderItem parameter will be ignored (the f may be nil then).

If you do not want custom file handling then pass nil to this parameter.
writer
This parameter is used if you want to handle all filehandling yourself or not stream to a file at all.

You can put any IStreamWriter class instance here, and then the file will be written to there.

If this parameter is used then the f FolderItem parameter will be ignored (the f may be nil then).

If you do not want custom file handling then pass nil to this parameter.
OutBufferSize
This parameter is used to manually tweak the out buffer size. (It may only be set to a value less than or equal to 5760

Remarks

See Also

UUCoderStream Class