FileBlob Object
Class for storing data in files.
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 the contents of the Blob into a byte array. | ToBase64 | Returns the contents of the Blob in a base64 encoded string. | ToHex | Returns the contents 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 | Determines if the file will be deleted when the object is destroyed. | EndPos | Determines end position of the FileBlob. | Filename | Holds the filename. | ReadOnly | Determines if the file is opened in Read-only mode. | StartPos | Determines start position of the FileBlob. | Text | Holds the text contents of the Blob. |
|
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.
Platforms
Windows