StreamBlob Object
Class for storing data in streams.
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 base64 encoded. | ToFile | Dumps the contents of the Blob into a file. | ToHex | Returns content of the blob hex encoded. | ToInt | Returns content of the blob in integer format. |
|
Properties | |
| Text | Holds the text contents of the Blob. | Stream | Holds reference to stream. |
|
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.
Platforms
Windows