GetByteArray
PowerScript function
Description
Obtains an array of Byte values stored in a blob.
Syntax
|
1 |
GetByteArray ( input ) |
|
Argument |
Description |
|---|---|
|
input |
A Blob datatype that you want to return as an array |
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:
|
1 2 |
Byte ly_byte[] ly_byte[] = GetByteArray(blobarg) |
See also
Document get from Powerbuilder help
Thank you for watching.
Subscribe
Login
0 Comments
Oldest