GetByteArray PowerScript function
Description
Obtains an array of Byte values stored
in a blob.
Syntax
|
1 |
<span>GetByteArray</span> ( <span>input</span> ) |
|
Argument |
Description |
|---|---|
|
input |
A Blob datatype |
Return Values
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 drectly to a byte array.
Examples
This example converts a blob passed in an argument
to an array of bytes:
|
1 |
Byte ly_byte[] |
|
1 |
ly_byte[] = <span>GetByteArray</span>(blobarg) |
See Also
Document get from Powerbuilder help
Thank you for watching.
Subscribe
Login
0 Comments
Oldest