wodCrypt ActiveX Control - StreamBlob Object
    
 
Description

StreamBlob Class


Remarks

The StreamBlob object stores any type and size of data in underlying object that exposes IStream interface. This can be anything that provides IStream interface and is implemented by your application. You could, for example, create such IStream using CreateStreamOnHGlobal API, or receive it from Windows itself. You can easily export/import contents of the StreamBlob using below methods.

Besides having the above properties and methods, StreamBlob 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.
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.

Properties
Stream Read-write property Holds reference to stream.
Text Read-write property Holds the text contents of the Blob.