wodCrypt ActiveX Control - FileBlob Object
    
 
Description

FileBlob Class


Remarks

The FileBlob object stores any type and size of data into the file of your choice (through the Filename property).

You should use FileBlob when you have large amounts of data to be encrypted/decrypted. The definition of 'large amounts' depends on your application - it can even be a few hundred megabytes. wodCrypt will never load the full file at once - it will read/write to it as needed, using smaller chunks.

In addition to the following properties and methods, a FileBlob can be also referenced through its Blob interface. For the Blob interface specification, please look here.




Members
Methods
FromArray Imports the contents of a byte array into the Blob.
FromBase64 Imports base64 encoded data into the Blob.
FromHex Imports hex encoded data into the Blob..
FromStream Imports contents into the blob from the IStream.
ToArray Returns content of the Blob in a byte array.
ToBase64 Returns content of the Blob in a base64 encoded string.
ToHex Returns content of the Blob in a hex encoded string.
ToInt Returns content of the blob as long integer value.
ToStream Dumps contents of the blob to an IStream.

Properties
AutoDelete Read-write property Determines if the file will be deleted when object is destroyed.
EndPos Read-write property Determines end position of the FileBlob.
Filename Read-write property Holds the filename.
ReadOnly Read-write property Determines if the file is opened in read-only mode.
StartPos Read-write property Determines start position of the FileBlob.
Text Read-write property Holds the text contents of the Blob.