Blob Object

Description

A blob is a block of binary data.

It is useful as a container to pass around binary data from one object to another. The data can also be read and set as desired.

The Data property is the default value, so it isn't necessary to specify .value in many languages.

Methods

Size

Data(Get)

Data(Set)

Example

Set b = CreateObject("Toolsack.Blob")
b.data = "This is a string to convert to binary"
MsgBox b.Size
s = b
 

Samples

Make Wav - Creates a wav from scratch, then plays it.

Dynamic Images - As ASP page as an IMG SRC sends an image chosen at random.

Articles



We always want to hear your feedback. Send to feedback@toolsack.com.
© 2000-2001 Toolsack Software Ltd.