Siebel eScript Language Reference > Methods Reference > BLOB Methods >

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

Blob.size(blobVar[, SetSize])

Format B

Blob.size(dataType)

Format C

Blob.size(bufferLen)

Format D

Blob.size(blobDescriptor dataDefinition)

Arguments

Table 46 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
Table 46. Arguments for the Get BLOB Size Method
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 BLOB Descriptor.

blobDescriptor dataDefinition

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

Siebel eScript Language Reference Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Legal Notices.