wodCrypt ActiveX Control - MemBlob Object
    
 
Description

MemBlob Class


Remarks

The MemBlob object stores any type and size of data in memory. Using the provided methods, such as ToHex, ToBase64 etc.. you can convert this data into almost any format you need, ready for transporting to other parties.

You should use MemBlob when you have smaller amounts of data to be encrypted/decrypted. The definition of 'smaller amounts' depends on your application - it can even be a few megabytes, but conversions to/from string may be time a consuming process in this case.

Besides having the above properties and methods, MemBlob can also be 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.
FromFile Imports contents into the Blob from a file.
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.
ToFile Dumps the contents of the Blob to a file.
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
Text Read-write property Holds the text contents of the Blob.