contents   index   previous   next



Blob.get()

syntax:

Blob.get(BlobVar, offset, DataType) 

Blob.get(BlobVar, offset, bufferLen) 

Blob.get(BlobVar, offset, DataStructureDefinition)

where:

BlobVar - binary large object variable to use.

 

offset - the offset or position in the Blob from which to work.

 

DataType - the type of data with which to work.

 

bufferLen - the length of data to work with as a buffer or byte array.

 

DataStructureDefinition - definition of a structure (object) variable.

 

return:

value - the data retrieved according to the defining parameters.

 

description:

This method reads data from a specified location of a Binary Large Object, a Blob and is the companion function to Blob.put(). The parameter BlobVar specifies the Blob to use. The parameter offset specifies where, in the Blob, to get data. The last parameter specifies the format of the data in the Blob and, hence, determines the type of the value returned which is the data read from the Blob.

 

Valid values for DataType are:

 

UWORD8,  SWORD8,  UWORD16, SWORD16, UWORD24, SWORD24,

UWORD32, SWORD32, FLOAT32, FLOAT64, FLOAT80

 

See Clib.fread() or blobDescriptor object, below, for more information on these DataType values.

 

see:

Blob put(), Blob size(), _BigEndianMode, Buffer object

 

 


Blob.put()