Obtains an array of Byte values stored in a blob.
GetByteArray ( input )
Argument  | 
Description  | 
|---|---|
input  | 
A Blob datatype that you want to return as an array of bytes.  | 
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.
The returned value can be assigned drectly to a byte array.
This example converts a blob passed in an argument to an array of bytes:
Byte ly_byte[]
ly_byte[] = GetByteArray(blobarg)