GetByteArray

Description

Obtains an array of Byte values stored in a blob.

Syntax

GetByteArray ( input )

Argument

Description

input

A Blob datatype that you want to return as an array of bytes.


Return value

Any.

Returns the value of the input variable as an array of Byte datatypes if it succeeds; it returns 0 if the input variable is not a valid blob.

Usage

The returned value can be assigned directly to a byte array.

Examples

This example converts a blob passed in an argument to an array of bytes:

Byte ly_byte[]
ly_byte[] = GetByteArray(blobarg)

See also

Blob

GetByte