Get BLOB Size Method

The Get BLOB Size method determines the size of a BLOB object. It returns the number of bytes that this BLOB object contains. It returns this value in the blobVar argument.

Format A

// Format A
Blob.size(blobVar[, SetSize])

// Format B
Blob.size(dataType)

// Format C
Blob.size(bufferLen)

// Format D
Blob.size(blobDescriptor dataDefinition)

The following table describes the arguments for the Get BLOB Size method. If you specify any of the following arguments, then Siebel CRM uses the values you specify to convert Siebel eScript data to a BLOB, and to covert BLOB data to Siebel eScript data:

  • dataType

  • bufferLen

  • dataDefinition

Argument Description

blobVar

The name of the binary large object that this method examines.

setSize

An integer that determines the size of the BLOB. If you specify the SetSize argument, then this method does the following work:

  • Modifies the size of the BLOB that you identify in the blobVar argument to the value you specify in the SetSize argument

  • Returns a value in the setSize argument

dataType

An integer value that describes the format of the data in the BLOB. The dataType argument must include one of the values that you use with a BLOB descriptor. For more information, see Values You Must Use with a blobDescriptor.

bufferLen

An integer that describes the number of bytes in the buffer.

blobDescriptor dataDefinition

A blobDescriptor object that describes the format of the data in the BLOB.